ettv-api
An ETTV API wrapper for NodeJS.
Installation
$ npm install --save ettv-api
Usage
Initialize
const EttvApi = const ettvApi = baseUrl: string // The base url of ettv.tv. Defaults to // 'https://www.ettv.tv/'. trackers: Array<string> // A list of trackers to add to the hahs of the // torrents. Defaults to 'exports.defaultTrackers'.
Methods
// ettvApi.getDaily() // For the daily database dump.// ettvApi.getFull() // For the full database dump. // Both methods return a promise withettvApi
Test
Tests are written with MochaJS and Chai.
$ npm run test
License
MIT License