vignesh0007 commited on
Commit
58e8cee
·
verified ·
1 Parent(s): 8f27ce8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ def live_crypto_price(cryptocurrencies:list)-> str: #it's import to specify the
19
  try:
20
  url = "https://api.coingecko.com/api/v3/simple/price"
21
  cryptos = ','.join(c for c in cryptocurrencies)
22
- parms = {ids: cryptos,
23
- vs_currencies: "inr"}
24
  response = requests.get(url, params=params)
25
  data = response.json()
26
  for keys, values in data.items():
 
19
  try:
20
  url = "https://api.coingecko.com/api/v3/simple/price"
21
  cryptos = ','.join(c for c in cryptocurrencies)
22
+ parms = {"ids": cryptos,
23
+ "vs_currencies": "inr"}
24
  response = requests.get(url, params=params)
25
  data = response.json()
26
  for keys, values in data.items():