1. Go to this page and download the library: Download datacue/client 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/ */
$apikey = "your-api-key";
$apisecret = "your-api-secret";
$env = "staging"; //use our test servers to try your code, default is production
$options = [
'max_try_times' => 10, //number of times to try resending if there was a failure
'pow_base' => 2, //used to adjust exponential backoff, best to leave this setting untouched
'debug' => true, // If true, additional debug info is printed to the console
];
$client = new Client(
$apiKey,
$apiSecret,
$options,
$env
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.