質問編集履歴

2

誤字

2018/11/23 13:37

投稿

jhkifsj
jhkifsj

スコア15

test CHANGED
File without changes
test CHANGED
@@ -106,11 +106,11 @@
106
106
 
107
107
 
108
108
 
109
- raw = requests.get(url, params=q)
109
+ with requests.get(url, params=q) as resp:
110
110
 
111
- json_out = raw.json()
111
+ rest_list = resp.json()
112
112
 
113
- print(json_out)
113
+ print(rest_list)
114
114
 
115
115
 
116
116
 

1

誤字

2018/11/23 13:37

投稿

jhkifsj
jhkifsj

スコア15

test CHANGED
File without changes
test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
 
44
44
 
45
- map_url = 'https://maps.googleapis.com/maps/api/place/nearbysearch/json'
45
+ map_url = 'https://maps.googleapis.com/maps/api/place/textsearch/json'
46
46
 
47
47
  map_q = {
48
48