coingecko-api
coingecko-api copied to clipboard
Allow getList to accept params
The official CoinGecko API accepts a include_platform parameter which accepts a boolean (Defaults to false) that can toggle contract addresses; https://www.coingecko.com/api/documentations/v3#/coins/get_coins_list
This commit should add the support to the call :-)
Loving what you do!
Is this the only parameter which is accepted?
In this case I would prefer:
getList(bool $includePlatform)
which should then be added to the params array internally