Spaces:
Build error
Build error
Update app.py
Browse files349 unmodified lines350351352353353354355356349 unmodified linesdef make_api_request(url, params): """Generic function to make API GET requests and return JSON data.""" try:
print(url) response = requests.get(url, params=params) response.raise_for_status() # Raises an HTTPError if the response was an error return response.json() # Return the parsed JSON dataapp.py+1-1