JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q43996F
  • License MIT

Node.JS wrapper of various (undocumented) NRK.no (Norwegian Broadcast Corporation) APIs

Package Exports

  • nrk

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nrk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

NRK APIs for Node.JS

Build status Codacy grade Codacy coverage NPM downloads NPM version Node version Dependency status

Node.JS wrapper for various (undocumented) API from the Norwegian Broadcast Corporation (NRK). Since NRK does not publicly document any of their APIs, this effort is by analyzing source code of various NRK.no sites, GitHub and other search engines, as well as analyzing traffic from various NRK applications.

Requirements

  • Node.JS >= v4.0.0

Install

$ npm install nrk --save

Usage

const nrk = require('nrk');

Environment

  • NRK_TV_API (default: https://tv.nrk.no)
  • NRK_TV_MOBIL (default: undefined)
  • NRK_PS_API (default: http://v8.psapi.nrk.no)

TV APIs

API endpoints used by https://tv.nrk.no. Some API endpoints documentation can be found here.

  • nrk.tv.autocomplete()
  • nrk.tv.programs()
  • nrk.tv.program()
  • nrk.tv.series()

TV APIs (mobile)

API endpoints used by the NRK TV app for iOS and Android.

  • nrk.tv.mobil.categories()
  • nrk.tv.mobil.programs()
  • nrk.tv.mobil.series()
  • nrk.tv.mobil.search()

NRK is a registered trademark of the Norwegian Broadcast Corporation which is not affiliated with this product. Content from NRK APIs may be copyrighted.

MIT Licensed