Node.js JDownloader client, written in TypeScript based in jdownloader-api.
npm i --save jdownloader-client
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))