Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def get_api(inp,call,val,tot):
|
|
13 |
try:
|
14 |
r = requests.get(f'{inp}?{call}={i}')
|
15 |
new_data=r.text
|
16 |
-
new_dict =
|
17 |
#data = dict(data) + dict(new_data)
|
18 |
#out={"id":r.text['id']}
|
19 |
#print (out)
|
|
|
13 |
try:
|
14 |
r = requests.get(f'{inp}?{call}={i}')
|
15 |
new_data=r.text
|
16 |
+
new_dict = json.loads(new_data)
|
17 |
#data = dict(data) + dict(new_data)
|
18 |
#out={"id":r.text['id']}
|
19 |
#print (out)
|