PHP code example of cryptoscan-one / cryptoscan-client-php
1. Go to this page and download the library: Download cryptoscan-one/cryptoscan-client-php 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/ */
cryptoscan-one / cryptoscan-client-php example snippets
// Создание своего HTTP клиента
class MyHTTPClient impliments HttpClientInterface
{
...
}
$httpClient = new MyHTTPClient();
// Создание провайдера данных
$provider = ProviderFactory::http($httpClient);
$client = new CryptoScanClient($auth, $provider);