2017 © Pedro Peláez
 

library real-debrid

A simple API interface for real-debrid.com

image

vgot/real-debrid

A simple API interface for real-debrid.com

  • Saturday, February 6, 2016
  • by Silver
  • Repository
  • 2 Watchers
  • 8 Stars
  • 173 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 4 Open issues
  • 6 Versions
  • 2 % Grown

The README.md

Real-Debrid API

Latest Stable Version Build Status, (*1)

A simple API interface for real-debrid.com., (*2)

It allows you to communicate with Real-Debrid API and do things like unrestrict your download links or download some torrent files., (*3)

Getting started

Install

You may install the Real-Debrid API with Composer (recommended) or manually., (*4)

Via Composer (preferred method), (*5)

$ composer require vgot/real-debrid

Manually, (*6)

If you don't want/have composer installed on your computer, you can manually download the library by cloning it with git., (*7)

$ git clone https://github.com/ValentinGot/real-debrid.git

System Requirements

You need PHP >= 5.6.0., (*8)

Authentication

To retrieve your token, you must authenticate to Real-Debrid and then go to the following URL:, (*9)

https://real-debrid.com/apitoken, (*10)

You must have a Real-Debrid premium account to access most of the API features., (*11)

Basic usage

This section provides a quick introduction to Real-Debrid API interface and some examples., (*12)

Creating a client

use \RealDebrid\RealDebrid;
use \RealDebrid\Auth\Token;

$token = new Token('MY_TOKEN');
$realDebrid = new RealDebrid($token);

Using the API

Here is some examples on how to use the Real-Debrid API., (*13)

If you want more information about the available requests, please refer to the Available requests section of the documentation., (*14)

// Retrieve user information
$userInformation = $realDebrid->user->get();

// Unrestrict a link
$link = $realDebrid->unrestrict->link('http://MY_LINK');

// Add a magnet link and start the torrent
$torrent = $realDebrid->torrents->addMagnet('magnet:MY_MAGNET_LINK');
$realDebrid->torrents->selectFiles($torrent->id);

// Retrieve torrents list
$torrentQueue = $realDebrid->torrents->get();

Documentation

The current version can be seen at valentingot.github.io/real-debrid., (*15)

License

The Real-Debrid API is released under the MIT license., (*16)

https://github.com/ValentinGot/real-debrid/blob/master/LICENSE, (*17)

The Versions

06/02 2016

dev-develop

dev-develop https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin GOT

torrent download magnet real-debrid.com unrestrict api.real-debrid.com

12/12 2015

dev-master

9999999-dev https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin GOT

torrent download magnet real-debrid.com unrestrict api.real-debrid.com

12/12 2015

2.1.1

2.1.1.0 https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin GOT

torrent download magnet real-debrid.com unrestrict api.real-debrid.com

03/12 2015

2.1.0

2.1.0.0 https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

MIT

The Requires

 

The Development Requires

by Valentin GOT

torrent download magnet real-debrid.com unrestrict api.real-debrid.com

01/12 2015

v2.0.0-ALPHA

2.0.0.0-alpha https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

Apache License 2.O

The Requires

 

The Development Requires

by Valentin GOT

torrent real-debrid.com unrestrict

02/10 2015

v1.0

1.0.0.0 https://github.com/ValentinGot/real-debrid

A simple API interface for real-debrid.com

  Sources   Download

Apache License 2.O

The Requires

  • php >=5.3.0

 

by Valentin GOT

torrent real-debrid.com unrestrict