criado ficheiro 'constants.py' para isolar chave API para CoinGecko
This commit is contained in:
@ -1,13 +1,6 @@
|
||||
import modulos.coingecko_api as cgapi
|
||||
import time
|
||||
|
||||
APY_KEY = "CG-K5RS5VXsdFDip2UvY3z8VjQP"
|
||||
|
||||
cgapi.headers = {
|
||||
'accept': 'application/json',
|
||||
'x-cg-demo-api-key': APY_KEY,
|
||||
}
|
||||
|
||||
criptomoeda: str = 'bitcoin'
|
||||
vs_currency: str = 'eur'
|
||||
dias: str = '30'
|
||||
|
||||
Reference in New Issue
Block a user