Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ def get_api(inp,call,val,tot):
|
|
6 |
if not tot:
|
7 |
r = requests.get(f'{inp}?{call}={val}')
|
8 |
new_data=r.text
|
|
|
9 |
new_dict = json.loads(new_data)
|
10 |
return (new_dict)
|
11 |
else:
|
|
|
6 |
if not tot:
|
7 |
r = requests.get(f'{inp}?{call}={val}')
|
8 |
new_data=r.text
|
9 |
+
print (new_data)
|
10 |
new_dict = json.loads(new_data)
|
11 |
return (new_dict)
|
12 |
else:
|