https://github.com/jc21/nodejs-sonarr-api
https://github.com/jc21/nodejs-sonarr-api
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jc21/nodejs-sonarr-api
- Owner: jc21
- Created: 2019-07-10T01:16:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T05:45:35.000Z (over 4 years ago)
- Last Synced: 2025-02-26T03:35:16.052Z (10 months ago)
- Language: TypeScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sonarr API Client
See: https://github.com/Sonarr/Sonarr/wiki/API
### Usage
```javascript
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
```bash
npm install
tsc --project tsconfig.build.json
```