node-real-debrid

1.0.6 • Public • Published

Usage example

npm install node-real-debrid --save
const RealDebridClient = require('node-real-debrid')
const RD = new RealDebridClient('Your API Token')
 
;(async () => {
    try {
        console.log(await RD.time.ISO())
        console.log(await RD.time.get())
        console.log(await RD.user.get())
        console.log(await RD.unrestrict.check('https://openload.co/f/faqKmuLs7ro/Scappa_-_Get_Out_%5BHD%5D_%282017%29_MD_Bluray_1080p.mp4'))
        console.log(await RD.traffic.get())
        console.log(await RD.unrestrict.link('https://openload.co/f/faqKmuLs7ro/Scappa_-_Get_Out_%5BHD%5D_%282017%29_MD_Bluray_1080p.mp4'))
        console.log(await RD.torrents.addTorrent(__dirname + '\\file.torrent'))
    } catch (e) {
        console.log(e)
    }
})()

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    1
    • latest

Version History

Package Sidebar

Install

npm i node-real-debrid

Weekly Downloads

7

Version

1.0.6

License

MIT

Last publish

Collaborators

  • razorxan