readme.md
This commit is contained in:
@ -44,8 +44,8 @@ class MarketCapFetcher:
|
||||
self.coins_to_fetch = coins
|
||||
self.db_path = os.path.join("_data", "market_data.db")
|
||||
self.api_base_url = "https://api.coingecko.com/api/v3"
|
||||
#self.api_key = os.environ.get("COINGECKO_API_KEY")
|
||||
self.api_key = "CG-SvVswjGvdHajUrLFq37CCKJX"
|
||||
self.api_key = os.environ.get("COINGECKO_API_KEY")
|
||||
|
||||
if not self.api_key:
|
||||
logging.error("CoinGecko API key not found. Please set the COINGECKO_API_KEY environment variable.")
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user