rleroi/real-debrid
Composer 安装命令:
composer require rleroi/real-debrid
包简介
A simple API interface for real-debrid.com
README 文档
README
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
rleroi/real-debrid 适用场景与选型建议
rleroi/real-debrid 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 29 次下载、GitHub Stars 达 6, 最近一次更新时间为 2023 年 07 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「torrent」 「download」 「real-debrid.com」 「unrestrict」 「api.real-debrid.com」 「magnet」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 rleroi/real-debrid 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 rleroi/real-debrid 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 rleroi/real-debrid 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The NzoFileDownloaderBundle is a Symfony Bundle used to Download all types of files from servers and Web applications safely and with ease. You can also read/show the file content in the Web Browser.
Adds a download link next to assets
Extract media information from torrent-like filename
Composer version of torrent-rw https://github.com/adriengibrat/torrent-rw
A simple API interface for real-debrid.com
PHP Transmission client
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 21
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-29