1. Go to this page and download the library: Download vincenth520/bittrex 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/ */
vincenth520 / bittrex example snippets
use Bittrex\Bittrex;
$apikey='';
$apisecret='';
$Bittrex = new Bittrex($apikey,$apisecret);
$balance = $Bittrex->getBalance();
var_dump($balance);
use Bittrex\Bittrex;
$apikey='';
$apisecret='';
$Bittrex = new Bittrex($apikey,$apisecret);
$LTC = $Bittrex->getticker('BTC-LTC');
var_dump($LTC);
use Bittrex\Bittrex;
$apikey='';
$apisecret='';
$Bittrex = new Bittrex($apikey,$apisecret);
$BTC = $Bittrex->getBtcPrice();
var_dump($BTC);