Skip to content

atombarel/node-real-debrid

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage example

npm install real-debrid-api --save
const RealDebridClient = require('real-debrid-api')
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'))
        	console.log(await RD.torrents.addMagnet('magnet_link'))
        	console.log(await RD.streaming.mediaInfos('id'))
	} catch (e) {
		console.log(e)
	}
})()

About

Real Debrid API Library for Nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%