Download the PHP package torbox/sdk without Composer

On this page you can find all versions of the php package torbox/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

Logo

Table of Contents

Setup & Configuration

Supported Language Versions

This SDK is compatible with the following versions: PHP >= 8.0

Installation

To get started with the SDK, we recommend installing using composer:

Authentication

Access Token Authentication

The torbox-api API uses an Access Token for authentication.

This token must be provided to authenticate your requests to the API.

Setting the Access Token

When you initialize the SDK, you can set the access token as follows:

If you need to set or update the access token after initializing the SDK, you can use:

Setting a Custom Timeout

You can set a custom timeout for the SDK's HTTP requests as follows:

Sample Usage

Below is a comprehensive example demonstrating how to authenticate and call a simple endpoint:

Services

The SDK provides various services to interact with the API.

Below is a list of all available services with links to their detailed documentation: | Name | | :--- | | [Torrents](documentation/services/Torrents.md) | | [Usenet](documentation/services/Usenet.md) | | [WebDownloadsDebrid](documentation/services/WebDownloadsDebrid.md) | | [General](documentation/services/General.md) | | [Notifications](documentation/services/Notifications.md) | | [User](documentation/services/User.md) | | [RssFeeds](documentation/services/RssFeeds.md) | | [Integrations](documentation/services/Integrations.md) | | [Queued](documentation/services/Queued.md) |

Models

The SDK includes several models that represent the data structures used in API requests and responses. These models help in organizing and managing the data efficiently.

Below is a list of all available models with links to their detailed documentation: | Name | Description | | :--------- | :---------- | | [CreateTorrentRequest](documentation/models/CreateTorrentRequest.md) | | | [CreateTorrentOkResponse](documentation/models/CreateTorrentOkResponse.md) | | | [ControlTorrentOkResponse](documentation/models/ControlTorrentOkResponse.md) | | | [RequestDownloadLinkOkResponse](documentation/models/RequestDownloadLinkOkResponse.md) | | | [GetTorrentListOkResponse](documentation/models/GetTorrentListOkResponse.md) | | | [GetTorrentCachedAvailabilityOkResponse](documentation/models/GetTorrentCachedAvailabilityOkResponse.md) | | | [ExportTorrentDataOkResponse](documentation/models/ExportTorrentDataOkResponse.md) | | | [GetTorrentInfoOkResponse](documentation/models/GetTorrentInfoOkResponse.md) | | | [GetTorrentInfo1Request](documentation/models/GetTorrentInfo1Request.md) | | | [GetTorrentInfo1OkResponse](documentation/models/GetTorrentInfo1OkResponse.md) | | | [CreateUsenetDownloadRequest](documentation/models/CreateUsenetDownloadRequest.md) | | | [CreateUsenetDownloadOkResponse](documentation/models/CreateUsenetDownloadOkResponse.md) | | | [GetUsenetListOkResponse](documentation/models/GetUsenetListOkResponse.md) | | | [CreateWebDownloadRequest](documentation/models/CreateWebDownloadRequest.md) | | | [CreateWebDownloadOkResponse](documentation/models/CreateWebDownloadOkResponse.md) | | | [GetWebDownloadListOkResponse](documentation/models/GetWebDownloadListOkResponse.md) | | | [GetHosterListOkResponse](documentation/models/GetHosterListOkResponse.md) | | | [GetUpStatusOkResponse](documentation/models/GetUpStatusOkResponse.md) | | | [GetStatsOkResponse](documentation/models/GetStatsOkResponse.md) | | | [GetChangelogsJsonOkResponse](documentation/models/GetChangelogsJsonOkResponse.md) | | | [GetNotificationFeedOkResponse](documentation/models/GetNotificationFeedOkResponse.md) | | | [GetUserDataOkResponse](documentation/models/GetUserDataOkResponse.md) | | | [AddReferralToAccountOkResponse](documentation/models/AddReferralToAccountOkResponse.md) | | | [GetAllJobsOkResponse](documentation/models/GetAllJobsOkResponse.md) | | | [GetAllJobsByHashOkResponse](documentation/models/GetAllJobsByHashOkResponse.md) | | | [CreateTorrentOkResponseData](documentation/models/CreateTorrentOkResponseData.md) | | | [GetTorrentListOkResponseData](documentation/models/GetTorrentListOkResponseData.md) | | | [DataFiles_1](documentation/models/DataFiles1.md) | | | [GetTorrentCachedAvailabilityOkResponseData](documentation/models/GetTorrentCachedAvailabilityOkResponseData.md) | | | [GetTorrentInfoOkResponseData](documentation/models/GetTorrentInfoOkResponseData.md) | | | [DataFiles_2](documentation/models/DataFiles2.md) | | | [GetTorrentInfo1OkResponseData](documentation/models/GetTorrentInfo1OkResponseData.md) | | | [DataFiles_3](documentation/models/DataFiles3.md) | | | [CreateUsenetDownloadOkResponseData](documentation/models/CreateUsenetDownloadOkResponseData.md) | | | [GetUsenetListOkResponseData](documentation/models/GetUsenetListOkResponseData.md) | | | [DataFiles_4](documentation/models/DataFiles4.md) | | | [CreateWebDownloadOkResponseData](documentation/models/CreateWebDownloadOkResponseData.md) | | | [GetWebDownloadListOkResponseData](documentation/models/GetWebDownloadListOkResponseData.md) | | | [DataFiles_5](documentation/models/DataFiles5.md) | | | [GetHosterListOkResponseData](documentation/models/GetHosterListOkResponseData.md) | | | [GetStatsOkResponseData](documentation/models/GetStatsOkResponseData.md) | | | [GetChangelogsJsonOkResponseData](documentation/models/GetChangelogsJsonOkResponseData.md) | | | [GetNotificationFeedOkResponseData](documentation/models/GetNotificationFeedOkResponseData.md) | | | [GetUserDataOkResponseData](documentation/models/GetUserDataOkResponseData.md) | | | [Settings](documentation/models/Settings.md) | | | [GetAllJobsOkResponseData](documentation/models/GetAllJobsOkResponseData.md) | | | [GetAllJobsByHashOkResponseData](documentation/models/GetAllJobsByHashOkResponseData.md) | |

License

This SDK is licensed under the MIT License.

See the LICENSE file for more details.


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
symfony/serializer Version ^7.0
guzzlehttp/guzzle Version ^7.0
symfony/property-info Version ^7.0
symfony/property-access Version ^7.0
phpdocumentor/reflection-docblock Version ^5.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package torbox/sdk contains the following files

Loading the files please wait ...