nrk
v1.3.0
Published
Node.JS wrapper of various (undocumented) NRK.no (Norwegian Broadcast Corporation) APIs
Downloads
19
Readme
NRK APIs for Node.JS
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()
Legal
NRK is a registered trademark of the Norwegian Broadcast Corporation which is not affiliated with this product. Content from NRK APIs may be copyrighted.