TuneIn Radio API client
node-tunein-radio
is a simple TuneIn Radio API javascript client, designed to be used in NodeJS.
Install
$ npm install node-tunein-radio
Use
var TuneIn = ; var tunein = ... ; tunein;
Constructor options
When you instantiate a new TuneIn object, you can pass in an options object with the following fields:
var tunein = protocol : 'https' // Protocol to use, either 'http' or 'https', default https cacheRequests : false // Wheter or not to cache requests, default false cacheTTL : 1000 * 60 * 5 // TTL for cached results, default 5 mins partnerId : 'no default' // a partnerId string provided by TuneIn, default to undefined;
Documentation
You can read the full documentation on GitHub Pages.
License
MIT
Contributing
Issues reports and PR are welcome.