1. Go to this page and download the library: Download happyslucker/changenow-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/ */
happyslucker / changenow-api example snippets
use ChangeNow\ChangeNowClient;
$client = new ChangeNowClient('your-api-key');
$currencies = $client->common()->getCurrencies();
foreach ($currencies as $currency) {
echo $currency->ticker . ' — ' . $currency->name . PHP_EOL;
}