You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to use a symbol in order to get data about a coin, for e.g. BTC using cg.get_price(ids='bitcoin') will work, but is there a way to do something like cg.get_price(ids = 'BTC')?
The text was updated successfully, but these errors were encountered:
Yes there is, I will try to integrate it, we only need dict with every coins symbol as key and id as value then just return result of get_price, for example
This is one way of doing, but it would need to updated every time new coin is added. Other is querying https://api.coingecko.com/api/v3/coins/list before and then finding item which matches symbol and take id from there and then get use that
Hi, I'm trying to use a symbol in order to get data about a coin, for e.g. BTC using
cg.get_price(ids='bitcoin')
will work, but is there a way to do something like cg.get_price(ids = 'BTC')?The text was updated successfully, but these errors were encountered: