coingecko-api icon indicating copy to clipboard operation
coingecko-api copied to clipboard

Allow getList to accept params

Open genericmilk opened this issue 4 years ago • 1 comments

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!

genericmilk avatar Dec 14 '21 14:12 genericmilk

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

OskarStark avatar Mar 01 '22 20:03 OskarStark