Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def fetch_market_data(state=None, district=None, market=None, commodity=None):
|
|
50 |
"""Fetch data from the agricultural market API"""
|
51 |
api_key = os.getenv("data_api_key")
|
52 |
print(api_key)
|
53 |
-
base_url = "
|
54 |
|
55 |
params = {
|
56 |
"api-key": api_key,
|
|
|
50 |
"""Fetch data from the agricultural market API"""
|
51 |
api_key = os.getenv("data_api_key")
|
52 |
print(api_key)
|
53 |
+
base_url = "1https://api.data.gov.in/resource/9ef84268-d588-465a-a308-a864a43d0070"
|
54 |
|
55 |
params = {
|
56 |
"api-key": api_key,
|