jdownloader-client
v1.0.0
Published
Node.js JDownloader client, written in TypeScript based in [jdownloader-api](https://www.npmjs.com/package/jdownloader-api).
Downloads
13
Readme
jdownloader-client
Node.js JDownloader client, written in TypeScript based in jdownloader-api.
Installation
npm i --save jdownloader-client
Usage
const { JDownloaderClient } = require('jdownloader-client')
async function main() {
const client = new JDownloaderClient('<email>', '<password>')
await client.connect()
const devices = await client.listDevices()
const downloadLinks = await client.downloadsQueryLinks(devices[0].id)
console.log(downloadLinks)
}
main()
.then(() => console.log('Done'))
.catch(err => console.error(err))