Spaces:
Build error
Build error
Update app.py
Browse files350 unmodified lines351352353354355356357350 unmodified lines """Generic function to make API GET requests and return JSON data.""" try: print(url) print(params) 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