Skip to content

DanielRamosAcosta/jdownloader-client

Repository files navigation

jdownloader-client

npm docs

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))

Implemented methods