0.3.4 • Published 5 years ago

node-tunein-radio v0.3.4

Weekly downloads
10
License
ISC
Repository
github
Last release
5 years ago

TuneIn Radio API client

node-tunein-radio is a simple TuneIn Radio API javascript client, designed to be used in NodeJS.

Build Status Coverage Status Dependencies

Install

$ npm install node-tunein-radio

Use

var TuneIn = require('node-tunein-radio');

var tunein = new TuneIn({ ... });

tunein.browse().then(function(result) {
    console.log(result);
}).catch(function(err) {
    console.log(err);
});

Constructor options

When you instantiate a new TuneIn object, you can pass in an options object with the following fields:

var tunein = new 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.

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago