rleroi/real-debrid 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rleroi/real-debrid

最新稳定版本:11.0.0

Composer 安装命令:

composer require rleroi/real-debrid

包简介

A simple API interface for real-debrid.com

README 文档

README

Latest Stable Version Build Status

A simple API interface for real-debrid.com.

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

Getting started

Install

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

Via Composer (preferred method)

$ composer require rleroi/real-debrid

Manually

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

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

System Requirements

You need PHP >= 5.6.0.

Authentication

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

https://real-debrid.com/apitoken

You must have a Real-Debrid premium account to access most of the API features.

Basic usage

This section provides a quick introduction to Real-Debrid API interface and some examples.

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.

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

// 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.

License

The Real-Debrid API is released under the MIT license.

https://github.com/ValentinGot/real-debrid/blob/master/LICENSE

统计信息

  • 总下载量: 29
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 0
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-07-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固