@jc21/sonarr-api
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

/@jc21/sonarr-api/

    Package Sidebar

    Install

    npm i @jc21/sonarr-api

    Weekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    36.7 kB

    Total Files

    49

    Last publish

    Collaborators

    • jc21