PHP code example of pxgamer / tapi
1. Go to this page and download the library: Download pxgamer/tapi library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pxgamer / tapi example snippets
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->setApiAuth('api_key');
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->unsetApiAuth();
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->upload('file_path');
$tAPI = new \pxgamer\tAPI\Client;
$tAPI->download('info_hash');