0.1.1 • Published 5 years ago

@jc21/sonarr-api v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Sonarr API Client

See: https://github.com/Sonarr/Sonarr/wiki/API

Usage

const Sonarr = require('@jc21/sonarr-api').Sonarr;

let s = new Sonarr('https://USER:PASS8@sonarr.example.com', 'APIKEY');

s.shows()
    .then(result => {
        console.log(result);
    })
    .catch(err => {
        console.error('ERR:', err);
    });

Compiling

npm install
tsc --project tsconfig.build.json