Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,14 +16,14 @@ import pandas as pd
|
|
| 16 |
# Function to get current prices of specified cryptocurrencies
|
| 17 |
def get_crypto_prices(crypto_ids='tokens', currency='usd'): str
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
args1 (str): Input for crypto_ids is a string
|
| 22 |
args2: (str): Output for currency is an srting
|
| 23 |
|
| 24 |
Returns:
|
| 25 |
(str): You should return all valid requests with the crypto id, and its current price in usd denominations.
|
| 26 |
-
|
| 27 |
|
| 28 |
url = "https://pro-api.coingecko.com/api/v3/simple/price?&x_cg_demo_api_key=CG-4TqTQv39JuPvRFmz3dz5Kcff"
|
| 29 |
|
|
|
|
| 16 |
# Function to get current prices of specified cryptocurrencies
|
| 17 |
def get_crypto_prices(crypto_ids='tokens', currency='usd'): str
|
| 18 |
|
| 19 |
+
"""This is a tool to get current crypto token market prices in usd currency using the coingecko api.
|
| 20 |
|
| 21 |
args1 (str): Input for crypto_ids is a string
|
| 22 |
args2: (str): Output for currency is an srting
|
| 23 |
|
| 24 |
Returns:
|
| 25 |
(str): You should return all valid requests with the crypto id, and its current price in usd denominations.
|
| 26 |
+
"""
|
| 27 |
|
| 28 |
url = "https://pro-api.coingecko.com/api/v3/simple/price?&x_cg_demo_api_key=CG-4TqTQv39JuPvRFmz3dz5Kcff"
|
| 29 |
|