Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1 +1,10 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import requests
|
2 |
+
|
3 |
+
# import json
|
4 |
+
|
5 |
+
|
6 |
+
url = requests.get('https://www.cheapshark.com/api/1.0/stores')
|
7 |
+
x = url.json()
|
8 |
+
|
9 |
+
for i in x:
|
10 |
+
print(i['storeName'] + ' ' + i['storeID'])
|