New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bbcparse

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bbcparse

Nodejs-based parser for the BBC Nitro API

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
decreased by-40%
Maintainers
1
Weekly downloads
 
Created
Source

bbcparse - Nodejs-based utilities to document and consume BBC APIs, including Nitro

Join the chat at https://gitter.im/Mermade/bbcparse Share on Twitter Follow on Twitter

Example of using nitroSdk.js

var nitro = require('bbcparse/nitroSdk');
var api = require('bbcparse/nitroApi/api');

var host = 'programmes.api.bbc.com';
var path = api.nitroMasterbrands;
var api_key = 'INSERT_YOUR_NITRO_API_KEY_HERE';

var query = nitro.newQuery();
query.add(api.fMasterbrandsPartnerPid,'*',true);

var options = {};

nitro.make_request(host,path,api_key,query,options,function(obj){
  // process the response object
});
Utilities to:
  • fetch API definitions (fetchApis.js)
  • create a Swagger 2.0 definition from the Nitro API feed (parseNitroApi.js)
  • create a Swagger 2.0 definition from the iBL API schema (parseIblApi.js)
  • show programme, brand or series information by category or searching (nitro.js)
  • show TV/radio category (genre/format) information (nitroCategories.js)
  • show channel (masterbrand) information (nitroChannels.js)
  • show partner (non-BBC services) information (nitroPartners.js)
  • show linear service IDs (nitroServices.js)
  • query the configured nitro host and return the response time (nitroPing.js)
  • show download information for a version PID (dlInfo.js)
  • find images by keyword (imageFinder.js)
  • show information for an image PID (imageInfo.js)
  • show TV iPlayer programme, category or channels information (ibl.js)
  • query the searchSuggest API (searchSuggest.js)
  • show legacy programme, brand or series information by category or searching (progs.js)
  • show legacy genres/formats for the radio player and iPlayer (categories.js)
  • ignore programmes, brands or series by adding PIDs to a download_history file (ignore.js)
  • populate a download_history from existing files (populate_download_history.js)
  • populate a tv cache file (gip_ibl)
  • populate a radio cache file (gip_aod)

Generated JSDoc courtesy of doclets.io

Keywords

FAQs

Package last updated on 02 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc