Closed trevisanj closed 3 years ago
cg = pycoingecko.CoinGeckoAPI() m = cg.get_coins_markets(vs_currency="USD", per_page=1, order="market_cap_desc", page=1, sparkline=True, price_change_percentage="1h,24h,7d,14d,30d,200d,1y") print(m)
You've got to do it as sparkline='true' otherwise the sparkline does not come
sparkline='true'
Boolean conversion to a string that CoinGecko can understand would be nice
I just created a pull request having this.
Great! Thanks for contributing. I was already planning to include this behavior!
You've got to do it as
sparkline='true'
otherwise the sparkline does not comeBoolean conversion to a string that CoinGecko can understand would be nice