google_places 0.32.0 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -0
- data/Gemfile.lock +31 -26
- data/README.rdoc +9 -0
- data/google_places.gemspec +6 -5
- data/lib/google_places/client.rb +13 -2
- data/spec/api_key.travis.rb +1 -1
- data/spec/google_places/client_spec.rb +19 -0
- data/spec/google_places/{rectangle.rb → rectangle_spec.rb} +0 -0
- data/spec/google_places/spot_spec.rb +4 -4
- data/spec/vcr_cassettes/list_predictions.yml +105 -875
- data/spec/vcr_cassettes/list_spots.yml +1728 -11728
- data/spec/vcr_cassettes/list_spots_by_radar.yml +184 -2424
- data/spec/vcr_cassettes/list_spots_with_detail.yml +1033 -0
- data/spec/vcr_cassettes/list_spots_with_multiple_types.yml +676 -5500
- data/spec/vcr_cassettes/list_spots_with_name_and_types.yml +146 -584
- data/spec/vcr_cassettes/list_spots_with_single_type.yml +256 -2130
- data/spec/vcr_cassettes/list_spots_with_types_and_exclusion.yml +676 -5503
- data/spec/vcr_cassettes/multiple_page_request.yml +3250 -10113
- data/spec/vcr_cassettes/photo.yml +13 -173
- data/spec/vcr_cassettes/single_spot.yml +788 -3560
- data/spec/vcr_setup.rb +1 -1
- metadata +34 -19
- data/spec/vcr_cassettes/list_spots_rankby_and_radius.yml +0 -606
- data/spec/vcr_cassettes/list_spots_with_name.yml +0 -384
- data/spec/vcr_cassettes/premium_list_spots_with_data.yml +0 -762
@@ -2,317 +2,17 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://maps.googleapis.com/maps/api/place/
|
6
|
-
body:
|
7
|
-
encoding: UTF-8
|
8
|
-
string: ''
|
9
|
-
headers:
|
10
|
-
connection:
|
11
|
-
- close
|
12
|
-
response:
|
13
|
-
status:
|
14
|
-
code: 200
|
15
|
-
message: OK
|
16
|
-
headers:
|
17
|
-
connection:
|
18
|
-
- close
|
19
|
-
vary:
|
20
|
-
- Accept-Language
|
21
|
-
server:
|
22
|
-
- mafe
|
23
|
-
x-xss-protection:
|
24
|
-
- 1; mode=block
|
25
|
-
cache-control:
|
26
|
-
- private
|
27
|
-
x-frame-options:
|
28
|
-
- SAMEORIGIN
|
29
|
-
content-type:
|
30
|
-
- application/json; charset=UTF-8
|
31
|
-
date:
|
32
|
-
- Sat, 14 Jul 2012 04:45:02 GMT
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |
|
36
|
-
{
|
37
|
-
"html_attributions" : [
|
38
|
-
"Listings by \u003ca href=\"http://www.yellowpages.com.au/\"\u003eYellow Pages\u003c/a\u003e"
|
39
|
-
],
|
40
|
-
"results" : [
|
41
|
-
{
|
42
|
-
"geometry" : {
|
43
|
-
"location" : {
|
44
|
-
"lat" : -33.8666690,
|
45
|
-
"lng" : 151.1922820
|
46
|
-
}
|
47
|
-
},
|
48
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
49
|
-
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
50
|
-
"name" : "Raffinato Italian Restaurant",
|
51
|
-
"reference" : "CoQBewAAAAa1LEKw4ZEH7YFpMUwPeZNUWxli0xqwnEBQjqVnroC9Q-oIUWg7j7pDvckKSNN1Kj8LpL2OhLZnUEo7de2oHDeTRhpfPUanzItigDBuxzY2D1joXcLb0XH9p0UD8HknzBRwu4vnrIEfY4BWpcoJs5g2KgAlfwwi9PaPoGgrFV3XEhBDD1RWBMqa1dbtiFi60CMIGhRBhD3W0AeNRrMmRqbSnGsiuzR0_A",
|
52
|
-
"types" : [ "establishment" ],
|
53
|
-
"vicinity" : "46 Harris Street, Pyrmont"
|
54
|
-
}
|
55
|
-
],
|
56
|
-
"status" : "OK"
|
57
|
-
}
|
58
|
-
http_version: '1.1'
|
59
|
-
recorded_at: Sat, 14 Jul 2012 04:45:15 GMT
|
60
|
-
- request:
|
61
|
-
method: get
|
62
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670522%2C151.1957362&radius=200&key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0&name=italian&language=&keyword=&types=food%7Cestablishment
|
63
|
-
body:
|
64
|
-
encoding: US-ASCII
|
65
|
-
string: ''
|
66
|
-
headers:
|
67
|
-
connection:
|
68
|
-
- close
|
69
|
-
response:
|
70
|
-
status:
|
71
|
-
code: 200
|
72
|
-
message: OK
|
73
|
-
headers:
|
74
|
-
content-type:
|
75
|
-
- application/json; charset=UTF-8
|
76
|
-
vary:
|
77
|
-
- Accept-Language
|
78
|
-
date:
|
79
|
-
- Mon, 03 Dec 2012 14:32:21 GMT
|
80
|
-
server:
|
81
|
-
- mafe
|
82
|
-
cache-control:
|
83
|
-
- private
|
84
|
-
x-xss-protection:
|
85
|
-
- 1; mode=block
|
86
|
-
x-frame-options:
|
87
|
-
- SAMEORIGIN
|
88
|
-
connection:
|
89
|
-
- close
|
90
|
-
body:
|
91
|
-
encoding: US-ASCII
|
92
|
-
string: |
|
93
|
-
{
|
94
|
-
"html_attributions" : [
|
95
|
-
"Listings by \u003ca href=\"http://www.yellowpages.com.au/\"\u003eYellow Pages\u003c/a\u003e"
|
96
|
-
],
|
97
|
-
"results" : [
|
98
|
-
{
|
99
|
-
"geometry" : {
|
100
|
-
"location" : {
|
101
|
-
"lat" : -33.8673760,
|
102
|
-
"lng" : 151.1938680
|
103
|
-
}
|
104
|
-
},
|
105
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
106
|
-
"id" : "56f95e7c803125fb84bc8e91ed4adb71ee8bfc3c",
|
107
|
-
"name" : "Zeffirelli",
|
108
|
-
"reference" : "CpQBjgAAACHgRQdrIS-dD1XTXBLwEJLFYcuICfOk1wZEfULG6HWH95_V6Mgqve8L5GRH50HbuDr3ffPXrqYaoMtJYtItEbGRoZ6njkn-cW1IjbfKLZnlftZl4ZLjtz1-1VxqCWfJ40i0rsRG31v2YjWWMyiPQndtxiLERRWAVVFNJQpwxivOdJmIj-LOUlo_zTdULmXw5hIQjTGBjwKw3zIfKD2DwGgqiRoUqKB7RRCmgVRJm5JvdqioV2aamH0",
|
109
|
-
"types" : [ "establishment" ],
|
110
|
-
"vicinity" : "02009/14 Pyrmont Street, Pyrmont"
|
111
|
-
},
|
112
|
-
{
|
113
|
-
"geometry" : {
|
114
|
-
"location" : {
|
115
|
-
"lat" : -33.8666690,
|
116
|
-
"lng" : 151.1922820
|
117
|
-
}
|
118
|
-
},
|
119
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
120
|
-
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
121
|
-
"name" : "Raffinato Italian Restaurant",
|
122
|
-
"reference" : "CpQBhgAAAIPJIUcPpiYzcgT5-zqYjvIlmNEmEiRak__2BKzlxLeZ6e59Unvh7bo-glE3KAQge8xeGnIwINFvlQI84qzhVXrD4v6yYDOKzryaQopbNM2P3NppwYc0-mwH-GYP2GTRdv9ImSZ4prANksEB3hSY5ZtEsQZa7P_BCicB9976Wm3dcvOO4TBVzyfxjDQLa5GLhRIQrB7OF2LNK7potVDMyyrBWxoUCQilj521TXBx8nefpw6uF6DGAHM",
|
123
|
-
"types" : [ "establishment" ],
|
124
|
-
"vicinity" : "46 Harris Street, Pyrmont"
|
125
|
-
}
|
126
|
-
],
|
127
|
-
"status" : "OK"
|
128
|
-
}
|
129
|
-
http_version: '1.1'
|
130
|
-
recorded_at: Mon, 03 Dec 2012 14:32:21 GMT
|
131
|
-
- request:
|
132
|
-
method: get
|
133
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.86705220%2C151.19573620&radius=200&key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0&name=italian&language=&keyword=&types=food%7Cestablishment
|
134
|
-
body:
|
135
|
-
encoding: US-ASCII
|
136
|
-
string: ''
|
137
|
-
headers:
|
138
|
-
connection:
|
139
|
-
- close
|
140
|
-
response:
|
141
|
-
status:
|
142
|
-
code: 200
|
143
|
-
message: OK
|
144
|
-
headers:
|
145
|
-
content-type:
|
146
|
-
- application/json; charset=UTF-8
|
147
|
-
vary:
|
148
|
-
- Accept-Language
|
149
|
-
date:
|
150
|
-
- Mon, 03 Dec 2012 14:35:10 GMT
|
151
|
-
server:
|
152
|
-
- mafe
|
153
|
-
cache-control:
|
154
|
-
- private
|
155
|
-
x-xss-protection:
|
156
|
-
- 1; mode=block
|
157
|
-
x-frame-options:
|
158
|
-
- SAMEORIGIN
|
159
|
-
connection:
|
160
|
-
- close
|
161
|
-
body:
|
162
|
-
encoding: US-ASCII
|
163
|
-
string: |
|
164
|
-
{
|
165
|
-
"html_attributions" : [
|
166
|
-
"Listings by \u003ca href=\"http://www.yellowpages.com.au/\"\u003eYellow Pages\u003c/a\u003e"
|
167
|
-
],
|
168
|
-
"results" : [
|
169
|
-
{
|
170
|
-
"geometry" : {
|
171
|
-
"location" : {
|
172
|
-
"lat" : -33.8673760,
|
173
|
-
"lng" : 151.1938680
|
174
|
-
}
|
175
|
-
},
|
176
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
177
|
-
"id" : "56f95e7c803125fb84bc8e91ed4adb71ee8bfc3c",
|
178
|
-
"name" : "Zeffirelli",
|
179
|
-
"reference" : "CpQBjgAAAEB7_g1-zjbh4FWwSzawP4tQE9G7nWHvAtEDlJg1EY09nBZZ6sRz2-UKWVUfm_KZ1g8oPTnP-XzKpoc9IGyl6xiv8R2t0weADMxSbCdG3ZdNpFBZ9vc4DFj2vTSMO3FjDIiWVKqtwAVXRclZnGFeIdI_mdy3shPNJzv2WHpCBG2I_HyMbqoqAa8v-2tL5AJdMBIQQaUHERF1PlsmuctzbfNvCxoUo3dHMFxzB8n1V02pZ0t6G7iHSnQ",
|
180
|
-
"types" : [ "establishment" ],
|
181
|
-
"vicinity" : "02009/14 Pyrmont Street, Pyrmont"
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"geometry" : {
|
185
|
-
"location" : {
|
186
|
-
"lat" : -33.8666690,
|
187
|
-
"lng" : 151.1922820
|
188
|
-
}
|
189
|
-
},
|
190
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
191
|
-
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
192
|
-
"name" : "Raffinato Italian Restaurant",
|
193
|
-
"reference" : "CpQBhgAAAN9G8ZZNZLompVUgbiH5wYhJUTG0Vm33T3PMhVRGquhCrRWtBgaALQK0kD7R9B4AbNRnU2e-eiaYUdc55CeigclJX60JUtTn7cXjuc5TjCLqYVNMqWi19k6XsSjp2pPRWCADuy-XWp4RwUVeJSFk6KH-q1jQgHO4NZbtT8BCtLVzbxaaGmmM94TUwY19wNeI9xIQWuXbzlZ__z2KlId48Mld4BoUcN1q0W8o-Ql6CKSC6HRyoTQkFpc",
|
194
|
-
"types" : [ "establishment" ],
|
195
|
-
"vicinity" : "46 Harris Street, Pyrmont"
|
196
|
-
}
|
197
|
-
],
|
198
|
-
"status" : "OK"
|
199
|
-
}
|
200
|
-
http_version: '1.1'
|
201
|
-
recorded_at: Mon, 03 Dec 2012 14:35:10 GMT
|
202
|
-
- request:
|
203
|
-
method: get
|
204
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.86705220%2C151.19573620&radius=200&rankby=&key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0&name=italian&language=&keyword=&types=food%7Cestablishment
|
5
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyAKeN0XMV5LqJmqBrZZ1K8qMipFW7-Eybg&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
205
6
|
body:
|
206
7
|
encoding: US-ASCII
|
207
8
|
string: ''
|
208
|
-
headers: {}
|
209
|
-
response:
|
210
|
-
status:
|
211
|
-
code: 200
|
212
|
-
message: OK
|
213
9
|
headers:
|
214
|
-
|
215
|
-
-
|
216
|
-
|
217
|
-
-
|
218
|
-
|
219
|
-
-
|
220
|
-
server:
|
221
|
-
- mafe
|
222
|
-
cache-control:
|
223
|
-
- private
|
224
|
-
x-xss-protection:
|
225
|
-
- 1; mode=block
|
226
|
-
x-frame-options:
|
227
|
-
- SAMEORIGIN
|
228
|
-
connection:
|
229
|
-
- close
|
230
|
-
body:
|
231
|
-
encoding: US-ASCII
|
232
|
-
string: |
|
233
|
-
{
|
234
|
-
"html_attributions" : [
|
235
|
-
"Listings by \u003ca href=\"http://www.yellowpages.com.au/\"\u003eYellow Pages\u003c/a\u003e"
|
236
|
-
],
|
237
|
-
"results" : [
|
238
|
-
{
|
239
|
-
"geometry" : {
|
240
|
-
"location" : {
|
241
|
-
"lat" : -33.8673760,
|
242
|
-
"lng" : 151.1938680
|
243
|
-
}
|
244
|
-
},
|
245
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
246
|
-
"id" : "56f95e7c803125fb84bc8e91ed4adb71ee8bfc3c",
|
247
|
-
"name" : "Zeffirelli",
|
248
|
-
"reference" : "CpQBjwAAAEBvjLqa6xM7y5uCIhLoiSQzaQU-SjEqUKdqFBPvqFr208D_6SefxkgqnIzA0bUnH2c6fMXfSLIhaoiTOR0T07gNVZkoXY008F4ZXFc9c11yXJYxSzw-TOjjg5OicQb_8Ekm5bZbBVfBROu6KVGuXCIQeDmYXTkNahHsH3qrC2iL6uhHwSnuz8F2L5yzQl1CPxIQVmB9tjs6R4I9a4UNeyvBcxoUoxPfR92NBZLDb0yh0W8ms34d3Bc",
|
249
|
-
"types" : [ "establishment" ],
|
250
|
-
"vicinity" : "02009/14 Pyrmont Street, Pyrmont"
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"geometry" : {
|
254
|
-
"location" : {
|
255
|
-
"lat" : -33.8666690,
|
256
|
-
"lng" : 151.1922820
|
257
|
-
}
|
258
|
-
},
|
259
|
-
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
260
|
-
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
261
|
-
"name" : "Raffinato Italian Restaurant",
|
262
|
-
"reference" : "CpQBhwAAAHsfKEv6kH1AALPGz9-FaQGPWzQClk_acBXlTqaDel39d-5mQ667pAq_1IJruoR0Rv_AGt63ez5ooybkFhrAASCM9Uckvj1qh2ksRDKLJpJlW1ZXkGTKDjbpR68ozLsv3XgFVOyRCvfNKSDoRpVjLWe5iF8yRD-IC7mYF62mJtm4kreMK81M39XsvEXNLFhxsxIQEQ0JQn1dYbBYW6JsNLmZXxoUxpheTLMouYkbc0bIvgbn7_WlBJU",
|
263
|
-
"types" : [ "establishment" ],
|
264
|
-
"vicinity" : "46 Harris Street, Pyrmont"
|
265
|
-
}
|
266
|
-
],
|
267
|
-
"status" : "OK"
|
268
|
-
}
|
269
|
-
http_version: '1.1'
|
270
|
-
recorded_at: Mon, 03 Dec 2012 14:42:29 GMT
|
271
|
-
- request:
|
272
|
-
method: get
|
273
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.86705220%2C151.19573620&radius=200&rankby=&key=abc123&name=italian&language=&keyword=&types=food%7Cestablishment
|
274
|
-
body:
|
275
|
-
encoding: US-ASCII
|
276
|
-
string: ''
|
277
|
-
headers: {}
|
278
|
-
response:
|
279
|
-
status:
|
280
|
-
code: 200
|
281
|
-
message: OK
|
282
|
-
headers:
|
283
|
-
content-type:
|
284
|
-
- application/json; charset=UTF-8
|
285
|
-
vary:
|
286
|
-
- Accept-Language
|
287
|
-
date:
|
288
|
-
- Fri, 22 Mar 2013 10:46:05 GMT
|
289
|
-
server:
|
290
|
-
- mafe
|
291
|
-
cache-control:
|
292
|
-
- private
|
293
|
-
x-xss-protection:
|
294
|
-
- 1; mode=block
|
295
|
-
x-frame-options:
|
296
|
-
- SAMEORIGIN
|
297
|
-
connection:
|
298
|
-
- close
|
299
|
-
body:
|
300
|
-
encoding: US-ASCII
|
301
|
-
string: |
|
302
|
-
{
|
303
|
-
"html_attributions" : [],
|
304
|
-
"results" : [],
|
305
|
-
"status" : "REQUEST_DENIED"
|
306
|
-
}
|
307
|
-
http_version: '1.1'
|
308
|
-
recorded_at: Fri, 22 Mar 2013 10:47:55 GMT
|
309
|
-
- request:
|
310
|
-
method: get
|
311
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
312
|
-
body:
|
313
|
-
encoding: US-ASCII
|
314
|
-
string: ''
|
315
|
-
headers: {}
|
10
|
+
Accept-Encoding:
|
11
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
+
Accept:
|
13
|
+
- "*/*"
|
14
|
+
User-Agent:
|
15
|
+
- Ruby
|
316
16
|
response:
|
317
17
|
status:
|
318
18
|
code: 200
|
@@ -321,25 +21,25 @@ http_interactions:
|
|
321
21
|
Content-Type:
|
322
22
|
- application/json; charset=UTF-8
|
323
23
|
Date:
|
324
|
-
-
|
24
|
+
- Tue, 07 Feb 2017 16:16:21 GMT
|
325
25
|
Expires:
|
326
|
-
-
|
26
|
+
- Tue, 07 Feb 2017 16:21:21 GMT
|
327
27
|
Cache-Control:
|
328
28
|
- public, max-age=300
|
329
29
|
Vary:
|
330
30
|
- Accept-Language
|
331
31
|
Server:
|
332
|
-
-
|
32
|
+
- pablo
|
33
|
+
Content-Length:
|
34
|
+
- '2548'
|
333
35
|
X-Xss-Protection:
|
334
36
|
- 1; mode=block
|
335
37
|
X-Frame-Options:
|
336
38
|
- SAMEORIGIN
|
337
|
-
|
338
|
-
- 443
|
339
|
-
Transfer-Encoding:
|
340
|
-
- chunked
|
39
|
+
Alt-Svc:
|
40
|
+
- quic=":443"; ma=2592000; v="35,34"
|
341
41
|
body:
|
342
|
-
encoding:
|
42
|
+
encoding: ASCII-8BIT
|
343
43
|
string: |
|
344
44
|
{
|
345
45
|
"html_attributions" : [],
|
@@ -347,305 +47,167 @@ http_interactions:
|
|
347
47
|
{
|
348
48
|
"geometry" : {
|
349
49
|
"location" : {
|
350
|
-
"lat" : -33.
|
351
|
-
"lng" : 151.
|
50
|
+
"lat" : -33.8680309,
|
51
|
+
"lng" : 151.1955118
|
52
|
+
},
|
53
|
+
"viewport" : {
|
54
|
+
"northeast" : {
|
55
|
+
"lat" : -33.86780835,
|
56
|
+
"lng" : 151.1960651
|
57
|
+
},
|
58
|
+
"southwest" : {
|
59
|
+
"lat" : -33.86869855,
|
60
|
+
"lng" : 151.1938519
|
61
|
+
}
|
352
62
|
}
|
353
63
|
},
|
354
|
-
"icon" : "
|
355
|
-
"id" : "
|
356
|
-
"name" : "
|
357
|
-
"
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
"vicinity" : "46 Harris St, Pyrmont"
|
362
|
-
},
|
363
|
-
{
|
364
|
-
"geometry" : {
|
365
|
-
"location" : {
|
366
|
-
"lat" : -33.86771,
|
367
|
-
"lng" : 151.191917
|
368
|
-
}
|
64
|
+
"icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
65
|
+
"id" : "08c0f74375ca1956d8ae2919512171adcd8266d7",
|
66
|
+
"name" : "Balla",
|
67
|
+
"opening_hours" : {
|
68
|
+
"exceptional_date" : [],
|
69
|
+
"open_now" : false,
|
70
|
+
"weekday_text" : []
|
369
71
|
},
|
370
|
-
"
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
}
|
379
|
-
],
|
380
|
-
"status" : "OK"
|
381
|
-
}
|
382
|
-
http_version:
|
383
|
-
recorded_at: Mon, 21 Jul 2014 11:28:59 GMT
|
384
|
-
- request:
|
385
|
-
method: get
|
386
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyATDpXAyvequDQBzYjHucOXGEn7fXtikVo&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
387
|
-
body:
|
388
|
-
encoding: US-ASCII
|
389
|
-
string: ''
|
390
|
-
headers: {}
|
391
|
-
response:
|
392
|
-
status:
|
393
|
-
code: 200
|
394
|
-
message: OK
|
395
|
-
headers:
|
396
|
-
Content-Type:
|
397
|
-
- application/json; charset=UTF-8
|
398
|
-
Date:
|
399
|
-
- Tue, 14 Oct 2014 18:49:12 GMT
|
400
|
-
Expires:
|
401
|
-
- Tue, 14 Oct 2014 18:54:12 GMT
|
402
|
-
Cache-Control:
|
403
|
-
- public, max-age=300
|
404
|
-
Vary:
|
405
|
-
- Accept-Language
|
406
|
-
Server:
|
407
|
-
- mafe
|
408
|
-
X-Xss-Protection:
|
409
|
-
- 1; mode=block
|
410
|
-
X-Frame-Options:
|
411
|
-
- SAMEORIGIN
|
412
|
-
Alternate-Protocol:
|
413
|
-
- 443:quic,p=0.01
|
414
|
-
Transfer-Encoding:
|
415
|
-
- chunked
|
416
|
-
body:
|
417
|
-
encoding: UTF-8
|
418
|
-
string: |
|
419
|
-
{
|
420
|
-
"html_attributions" : [],
|
421
|
-
"results" : [
|
422
|
-
{
|
423
|
-
"geometry" : {
|
424
|
-
"location" : {
|
425
|
-
"lat" : -33.866669,
|
426
|
-
"lng" : 151.192282
|
72
|
+
"photos" : [
|
73
|
+
{
|
74
|
+
"height" : 2976,
|
75
|
+
"html_attributions" : [
|
76
|
+
"\u003ca href=\"https://maps.google.com/maps/contrib/116060194460169514612/photos\"\u003eMoana Amoa\u003c/a\u003e"
|
77
|
+
],
|
78
|
+
"photo_reference" : "CoQBdwAAAC3SXP0X659AJDG_R2Q-DjQpfUVRm2MWE5xc3GDud-e67kdgHbTAVDokTSFPqZn35X5FoHA46XmhnqVJO3JbQxPq_eiPXc7_gG69iEe8BUOWaeTwbASFsVebZ_XJ009VwEN6Mc_Rk5y2Kh9wNmRi-FmhJ3pn1W6RP5dmVW9msFxHEhCEmgZJgg7Vv3pwKhNZnQlKGhSqQ14sNvaG0HChj6w9tpuFBxsYdA",
|
79
|
+
"width" : 2976
|
427
80
|
}
|
428
|
-
|
429
|
-
"
|
430
|
-
"
|
431
|
-
"
|
432
|
-
"
|
433
|
-
"reference" : "CoQBfwAAAPPghK61nnPN5DN94wwVqsCGbes3tkEvPWwxRhObGK74kmbQlN488-qAeIjZ8uwMuVZqGx5dITvdZu77AkYs492Xk8luyssuzM8a4q5wVvCBOmgwgXK3bTTOWoyh1DseMXUzG7LOy4cOwsgPGARr1n5kY-QHKWYTiGtx1LtppCSOEhDpZ6cvV0R8oH9givbCANYbGhR_JaqSUwMaYil0M1EBEhr0eThWeg",
|
81
|
+
],
|
82
|
+
"place_id" : "ChIJ1-v38TauEmsRFBHuvMmwNyA",
|
83
|
+
"price_level" : 3,
|
84
|
+
"rating" : 3.6,
|
85
|
+
"reference" : "CmRRAAAAVpF7VxQ69dkrXfPA5UhvHKvHHUXCqr805qRqWLKgONjIHMlD1TKooKZ89ds6nfyL7uTmebt6pfCmURCjhlI_XmtFaPRD8gi8KPVJ9IOt7ut971fWeEovTJDdiyv3Do0WEhDe9bkRef3SqNzUcDLMaxMwGhTfIxtVTLbyubWShZl-cyisaZqWsw",
|
434
86
|
"scope" : "GOOGLE",
|
435
|
-
"types" : [ "restaurant", "food", "establishment" ],
|
436
|
-
"vicinity" : "
|
87
|
+
"types" : [ "restaurant", "food", "point_of_interest", "establishment" ],
|
88
|
+
"vicinity" : "The Star, G, 80 Pyrmont Street, Pyrmont"
|
437
89
|
},
|
438
90
|
{
|
439
91
|
"geometry" : {
|
440
92
|
"location" : {
|
441
|
-
"lat" : -33.
|
442
|
-
"lng" : 151.
|
93
|
+
"lat" : -33.866407,
|
94
|
+
"lng" : 151.195708
|
95
|
+
},
|
96
|
+
"viewport" : {
|
97
|
+
"northeast" : {
|
98
|
+
"lat" : -33.86620449999999,
|
99
|
+
"lng" : 151.1958994
|
100
|
+
},
|
101
|
+
"southwest" : {
|
102
|
+
"lat" : -33.8664745,
|
103
|
+
"lng" : 151.1956442
|
104
|
+
}
|
443
105
|
}
|
444
106
|
},
|
445
|
-
"icon" : "
|
446
|
-
"id" : "
|
447
|
-
"name" : "
|
448
|
-
"
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
"vicinity" : "6/45-55 Harris St, Pyrmont"
|
453
|
-
}
|
454
|
-
],
|
455
|
-
"status" : "OK"
|
456
|
-
}
|
457
|
-
http_version:
|
458
|
-
recorded_at: Tue, 14 Oct 2014 18:49:12 GMT
|
459
|
-
- request:
|
460
|
-
method: get
|
461
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyCJ0NiNmva8TTlxDoU-BWvxW27zGAichFk&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
462
|
-
body:
|
463
|
-
encoding: US-ASCII
|
464
|
-
string: ''
|
465
|
-
headers: {}
|
466
|
-
response:
|
467
|
-
status:
|
468
|
-
code: 200
|
469
|
-
message: OK
|
470
|
-
headers:
|
471
|
-
Content-Type:
|
472
|
-
- application/json; charset=UTF-8
|
473
|
-
Date:
|
474
|
-
- Tue, 14 Oct 2014 21:09:02 GMT
|
475
|
-
Expires:
|
476
|
-
- Tue, 14 Oct 2014 21:14:02 GMT
|
477
|
-
Cache-Control:
|
478
|
-
- public, max-age=300
|
479
|
-
Vary:
|
480
|
-
- Accept-Language
|
481
|
-
Server:
|
482
|
-
- mafe
|
483
|
-
X-Xss-Protection:
|
484
|
-
- 1; mode=block
|
485
|
-
X-Frame-Options:
|
486
|
-
- SAMEORIGIN
|
487
|
-
Alternate-Protocol:
|
488
|
-
- 443:quic,p=0.01
|
489
|
-
Transfer-Encoding:
|
490
|
-
- chunked
|
491
|
-
body:
|
492
|
-
encoding: UTF-8
|
493
|
-
string: |
|
494
|
-
{
|
495
|
-
"html_attributions" : [],
|
496
|
-
"results" : [
|
497
|
-
{
|
498
|
-
"geometry" : {
|
499
|
-
"location" : {
|
500
|
-
"lat" : -33.866669,
|
501
|
-
"lng" : 151.192282
|
502
|
-
}
|
107
|
+
"icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
|
108
|
+
"id" : "2de2d85c0465dafc9a75e0304859c5ceedb4a679",
|
109
|
+
"name" : "Signorelli Gastronomia",
|
110
|
+
"opening_hours" : {
|
111
|
+
"exceptional_date" : [],
|
112
|
+
"open_now" : false,
|
113
|
+
"weekday_text" : []
|
503
114
|
},
|
504
|
-
"
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
115
|
+
"photos" : [
|
116
|
+
{
|
117
|
+
"height" : 608,
|
118
|
+
"html_attributions" : [
|
119
|
+
"\u003ca href=\"https://maps.google.com/maps/contrib/116750797999944764767/photos\"\u003eJessica Pfund\u003c/a\u003e"
|
120
|
+
],
|
121
|
+
"photo_reference" : "CoQBdwAAAMXLS_e9QUmnvNJaN5zTQAVfpWH7RRtHFWxEnoaem-4Ydrx7yp5MlqA0RbpqMZWWNeYU-m2cqqowqfbUZ4ZK7bfwoB_91Zgev0fjXTuXiRbc-bivQ_fGxhx_KB3W-4M-i8MZ0NT3tijUcrUq8aq_trR7R3a-hh5x5bWxsdUAOLR9EhDJmfrRAhTE1D3lWS4FB_LpGhQLPjNpbKp_nTfAKg78riG8-zbpWw",
|
122
|
+
"width" : 1080
|
123
|
+
}
|
124
|
+
],
|
125
|
+
"place_id" : "ChIJFcJDMzauEmsRy81NJCujoY8",
|
126
|
+
"price_level" : 2,
|
127
|
+
"rating" : 3.8,
|
128
|
+
"reference" : "CmRSAAAA6LDcmC5Kz9phZOfpyoe-H-qstU0FPT3nvgch9SqnRoar995hjZkqFl1SrCPSXHbbZ6eZ0yCUlreRqipnd-Pimy8rO1J3KtKYDjREirxjVhjvXGDQMxZUxHKQp3GpTfPJEhDfRK_e2vBDPEw2MZREnP43GhQPHKKSCyiIWtJ1B6kDUvBfVxEHVg",
|
509
129
|
"scope" : "GOOGLE",
|
510
|
-
"types" : [ "
|
511
|
-
"vicinity" : "
|
130
|
+
"types" : [ "food", "point_of_interest", "establishment" ],
|
131
|
+
"vicinity" : "Ground Floor of Accenture,, Google Building,, Trouton Place,, Pyrmont"
|
512
132
|
},
|
513
133
|
{
|
514
134
|
"geometry" : {
|
515
135
|
"location" : {
|
516
|
-
"lat" : -33.
|
517
|
-
"lng" : 151.
|
136
|
+
"lat" : -33.86679699999999,
|
137
|
+
"lng" : 151.1973652
|
138
|
+
},
|
139
|
+
"viewport" : {
|
140
|
+
"northeast" : {
|
141
|
+
"lat" : -33.86669799999999,
|
142
|
+
"lng" : 151.1983189
|
143
|
+
},
|
144
|
+
"southwest" : {
|
145
|
+
"lat" : -33.867094,
|
146
|
+
"lng" : 151.1970473
|
147
|
+
}
|
518
148
|
}
|
519
149
|
},
|
520
|
-
"icon" : "
|
521
|
-
"id" : "
|
522
|
-
"name" : "
|
523
|
-
"
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
"vicinity" : "6/45-55 Harris St, Pyrmont"
|
528
|
-
}
|
529
|
-
],
|
530
|
-
"status" : "OK"
|
531
|
-
}
|
532
|
-
http_version:
|
533
|
-
recorded_at: Tue, 14 Oct 2014 21:09:03 GMT
|
534
|
-
- request:
|
535
|
-
method: get
|
536
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=200&rankby=&types=food%7Cestablishment
|
537
|
-
body:
|
538
|
-
encoding: US-ASCII
|
539
|
-
string: ''
|
540
|
-
headers: {}
|
541
|
-
response:
|
542
|
-
status:
|
543
|
-
code: 200
|
544
|
-
message: OK
|
545
|
-
headers:
|
546
|
-
Content-Type:
|
547
|
-
- application/json; charset=UTF-8
|
548
|
-
Date:
|
549
|
-
- Sat, 01 Nov 2014 22:54:28 GMT
|
550
|
-
Expires:
|
551
|
-
- Sat, 01 Nov 2014 22:59:28 GMT
|
552
|
-
Cache-Control:
|
553
|
-
- public, max-age=300
|
554
|
-
Vary:
|
555
|
-
- Accept-Language
|
556
|
-
Server:
|
557
|
-
- mafe
|
558
|
-
X-Xss-Protection:
|
559
|
-
- 1; mode=block
|
560
|
-
X-Frame-Options:
|
561
|
-
- SAMEORIGIN
|
562
|
-
Alternate-Protocol:
|
563
|
-
- 443:quic,p=0.01
|
564
|
-
Transfer-Encoding:
|
565
|
-
- chunked
|
566
|
-
body:
|
567
|
-
encoding: UTF-8
|
568
|
-
string: |
|
569
|
-
{
|
570
|
-
"html_attributions" : [],
|
571
|
-
"results" : [
|
572
|
-
{
|
573
|
-
"geometry" : {
|
574
|
-
"location" : {
|
575
|
-
"lat" : -33.866669,
|
576
|
-
"lng" : 151.192282
|
577
|
-
}
|
150
|
+
"icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
151
|
+
"id" : "dd030d236b8ccdc525f7a40893eb492f8fc5d55d",
|
152
|
+
"name" : "LuMi Bar & Dining",
|
153
|
+
"opening_hours" : {
|
154
|
+
"exceptional_date" : [],
|
155
|
+
"open_now" : false,
|
156
|
+
"weekday_text" : []
|
578
157
|
},
|
579
|
-
"
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
158
|
+
"photos" : [
|
159
|
+
{
|
160
|
+
"height" : 1296,
|
161
|
+
"html_attributions" : [
|
162
|
+
"\u003ca href=\"https://maps.google.com/maps/contrib/104200466008610392938/photos\"\u003eLuMi Bar & Dining\u003c/a\u003e"
|
163
|
+
],
|
164
|
+
"photo_reference" : "CoQBdwAAAOdjCSr4-qPDkEiwGwAGVWom4a-K2MGO3uVU3HE40wet_NsE-68MCsdfFAq0U9VhSnmZ5kCFxloZQFb8WNkfyxo3lB3FC8gMiKXHCzSfV90yQqfIGGCNMbPFnNrOPxZ2dUtDVX0goDHRV0CqRPTtp9ooHBIO9zUJZ-GjtM14tZd9EhASIPQ3I4xWwdJRFVXjlHjyGhQSVdYCrvLopm0ujxFxa3hsUrOgoA",
|
165
|
+
"width" : 1299
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"place_id" : "ChIJDZzo5DeuEmsRsi1wzrIp6HY",
|
169
|
+
"price_level" : 3,
|
170
|
+
"rating" : 4.3,
|
171
|
+
"reference" : "CmRRAAAAw8CHHcgug0VyZ24dhmilt7IsdzS8IjU6ZAqqytIA8uz9QR-mIE4fRUTNuTyH8mC8WQku1g6mD2STAtU8Knyhg7J1F9YVF7JwRcsYfqtUn6nDLDULyOSI-yhvHz_Ns8VqEhBsMjokUNglYUZ4Rsbiz4W0GhRTQWP8mDT7j30JILCSO2h4DgFmvQ",
|
584
172
|
"scope" : "GOOGLE",
|
585
|
-
"types" : [ "restaurant", "food", "establishment" ],
|
586
|
-
"vicinity" : "
|
173
|
+
"types" : [ "restaurant", "bar", "food", "point_of_interest", "establishment" ],
|
174
|
+
"vicinity" : "56 Pirrama Road, Pyrmont"
|
587
175
|
},
|
588
176
|
{
|
589
177
|
"geometry" : {
|
590
178
|
"location" : {
|
591
|
-
"lat" : -33.
|
592
|
-
"lng" : 151.
|
179
|
+
"lat" : -33.8678337,
|
180
|
+
"lng" : 151.1958116
|
593
181
|
}
|
594
182
|
},
|
595
|
-
"icon" : "
|
596
|
-
"id" : "
|
597
|
-
"name" : "
|
598
|
-
"
|
599
|
-
|
183
|
+
"icon" : "https://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
184
|
+
"id" : "f138865c7ac72dcc2cbd0491710aa6203ebc595f",
|
185
|
+
"name" : "Pizzaperta",
|
186
|
+
"opening_hours" : {
|
187
|
+
"exceptional_date" : [],
|
188
|
+
"open_now" : false,
|
189
|
+
"weekday_text" : []
|
190
|
+
},
|
191
|
+
"photos" : [
|
192
|
+
{
|
193
|
+
"height" : 529,
|
194
|
+
"html_attributions" : [
|
195
|
+
"\u003ca href=\"https://maps.google.com/maps/contrib/104840538435120775749/photos\"\u003ePizzaperta\u003c/a\u003e"
|
196
|
+
],
|
197
|
+
"photo_reference" : "CoQBdwAAAMRM1VSCM5t2A2urPNzkzlM_ZgACeZXd8RyeFzgm9c7bhffH4qS8PjbevbbgSaKdnAehkmczsH0mSsyDHi_Bj3YLe5bF2zXHyabfzNke4hsA3ppsk_OagKg-0ZoFbfiApTrpov7SlKK2_6f-A153yzqYuBllVB-9nYxAgNsFxWOAEhBNe6VfIGf8S5B4g7okf30UGhSJ0cM79VtysW3K7sQEhMvipLpDfA",
|
198
|
+
"width" : 530
|
199
|
+
}
|
200
|
+
],
|
201
|
+
"place_id" : "ChIJA6-_qzeuEmsRiV9SAHIbzh4",
|
202
|
+
"rating" : 3.5,
|
203
|
+
"reference" : "CmRRAAAAcMnnUjjS2Tn8jXW21NEJA09nfLbHjzZpQLgGtmtWUGqR2EDv34soeb8lyjCz-1C01KVKXfCFLcvnu_T8qYEQ2HRKHcL-GhleKr5u2jTMmRodsC0ESnExqLdoIAoqJSKmEhDQARoaGLAl-wVlmqiCQpTAGhRBqd2BD1XqH9e1soL3IH5bxs-KAA",
|
600
204
|
"scope" : "GOOGLE",
|
601
|
-
"types" : [ "restaurant", "
|
602
|
-
"vicinity" : "
|
205
|
+
"types" : [ "restaurant", "food", "point_of_interest", "establishment" ],
|
206
|
+
"vicinity" : "The Star Sydney, Harbourside Entry, Pirrama Rd, Pyrmont NSW 2009, Sydney"
|
603
207
|
}
|
604
208
|
],
|
605
209
|
"status" : "OK"
|
606
210
|
}
|
607
211
|
http_version:
|
608
|
-
recorded_at:
|
609
|
-
|
610
|
-
method: get
|
611
|
-
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro&keyword=&language=&location=-33.86705220,151.19573620&name=italian&radius=&rankby=&types=food%7Cestablishment
|
612
|
-
body:
|
613
|
-
encoding: US-ASCII
|
614
|
-
string: ''
|
615
|
-
headers: {}
|
616
|
-
response:
|
617
|
-
status:
|
618
|
-
code: 200
|
619
|
-
message: OK
|
620
|
-
headers:
|
621
|
-
Content-Type:
|
622
|
-
- application/json; charset=UTF-8
|
623
|
-
Date:
|
624
|
-
- Sat, 01 Nov 2014 22:56:33 GMT
|
625
|
-
Expires:
|
626
|
-
- Sat, 01 Nov 2014 23:01:33 GMT
|
627
|
-
Cache-Control:
|
628
|
-
- public, max-age=300
|
629
|
-
Vary:
|
630
|
-
- Accept-Language
|
631
|
-
Server:
|
632
|
-
- mafe
|
633
|
-
X-Xss-Protection:
|
634
|
-
- 1; mode=block
|
635
|
-
X-Frame-Options:
|
636
|
-
- SAMEORIGIN
|
637
|
-
Alternate-Protocol:
|
638
|
-
- 443:quic,p=0.01
|
639
|
-
Transfer-Encoding:
|
640
|
-
- chunked
|
641
|
-
body:
|
642
|
-
encoding: UTF-8
|
643
|
-
string: |
|
644
|
-
{
|
645
|
-
"html_attributions" : [],
|
646
|
-
"results" : [],
|
647
|
-
"status" : "INVALID_REQUEST"
|
648
|
-
}
|
649
|
-
http_version:
|
650
|
-
recorded_at: Sat, 01 Nov 2014 22:56:33 GMT
|
651
|
-
recorded_with: VCR 2.9.2
|
212
|
+
recorded_at: Tue, 07 Feb 2017 16:16:22 GMT
|
213
|
+
recorded_with: VCR 2.9.3
|