I do not receive any error after running the code, but there are also no response. Let me know if any other information is required to figure where went wrong.
Input
from pycoingecko import CoinGeckoAPI
cg = CoinGeckoAPI()
cg.ping()
cg.get_price(ids='bitcoin', vs_currencies='usd')
Output
aikenong@Aikens-MacBook-Air ~ % /usr/local/bin/python3 "/Users/aikenong/Desktop/crypto charts/charts.py"
aikenong@Aikens-MacBook-Air ~ %