Create config.py
Browse files
config.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# -*- coding: utf-8 -*-
|
| 2 |
+
# Archivo de configuración global
|
| 3 |
+
|
| 4 |
+
# API Keys
|
| 5 |
+
CRYPTOCOMPARE_API_KEY = "TU_API_KEY_DE_CRYPTOCOMPARE"
|
| 6 |
+
SCRAPERAPI_KEY = "7b033896bff116ad0fcc94b29c52c923"
|
| 7 |
+
|
| 8 |
+
# URLs
|
| 9 |
+
CRYPTOCOMPARE_BASE_URL = "https://min-api.cryptocompare.com/data/v2/histohour"
|
| 10 |
+
BITCOIN_TREASURIES_URL = "https://bitcointreasuries.net/"
|
| 11 |
+
BITCOIN_ETFS_URL = "https://bitcointreasuries.net/etfs-and-exchanges"
|
| 12 |
+
YAHOO_FINANCE_SEARCH_URL = "https://query1.finance.yahoo.com/v1/finance/search"
|
| 13 |
+
|
| 14 |
+
# Plantilla de Excel
|
| 15 |
+
DEFAULT_TEMPLATE_URL = (
|
| 16 |
+
"https://docs.google.com/spreadsheets/d/1Ad3bbYQAAZO6ljkaCGTGSw5aG_FQF7Lg/"
|
| 17 |
+
"edit?usp=sharing&ouid=109222615757657219494&rtpof=true&sd=true"
|
| 18 |
+
)
|