Closed Fede22922 closed 3 years ago
Hi,
You don't need to pass anything for 'self'. Just insert the rest parameters.
For example for cg.get_coin_market_chart_by_id
:
import pycoingecko
cg = pycoingecko.CoinGeckoAPI()
cg.get_coin_market_chart_by_id(id='bitcoin', vs_currency='eur', days=1)
There are more examples in README.
Thank you very much and sorry for the trivial question
No problem!
Best
Hi, I'm new on Python programming and i'm going to use pycoingecko. Using the function "cg.get_coin_market_chart_by_id()" when I insert the parameters I don't known what I have to insert in "self". Can someone help me?