PHP code example of wangta69 / coin_exchange_api
1. Go to this page and download the library: Download wangta69/coin_exchange_api 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/ */
wangta69 / coin_exchange_api example snippets
use Wangta69\CoinExchange\BithumbApiService;
$api_url = '/info/user_transactions';
$connect_key = 'xxxxxx';
$secret_key = 'xxxxxxxx';
$reqParams = ['currency' => 'XRP', 'searchGb' => '0'];
$api = new BithumbApiService();
$api->set_private($api_key, $api_secret);
$result = $api->privateApiCall($api_url, $reqParams);