Redmind commited on
Commit
522e074
·
verified ·
1 Parent(s): 8eb7f15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -351,6 +351,7 @@ def make_api_request(url, params):
351
  """Generic function to make API GET requests and return JSON data."""
352
  try:
353
  print(url)
 
354
  response = requests.get(url, params=params)
355
  response.raise_for_status() # Raises an HTTPError if the response was an error
356
  return response.json() # Return the parsed JSON data
 
351
  """Generic function to make API GET requests and return JSON data."""
352
  try:
353
  print(url)
354
+ print(params)
355
  response = requests.get(url, params=params)
356
  response.raise_for_status() # Raises an HTTPError if the response was an error
357
  return response.json() # Return the parsed JSON data