$client = \MusheAbdulHakim\CoinGecko\CoinGecko::client('your-api-key');
$contract = $client->contract();
$data = $contract->byToken($id, $contact_address);
$data = $contract->history($id, $contact_address, $vs_currency, $days, [
//parameters
]);
$data = $contract->historyWithin($id, $contact_address, $vs_currency, $from, $to, [
//parameters
]);