google_places 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -17
- data/google_places.gemspec +11 -11
- data/lib/google_places/spot.rb +3 -2
- data/spec/google_places/client_spec.rb +8 -8
- data/spec/google_places/location_spec.rb +1 -1
- data/spec/google_places/photo_spec.rb +4 -5
- data/spec/google_places/request_spec.rb +40 -89
- data/spec/google_places/spot_spec.rb +34 -98
- data/spec/spec_helper.rb +1 -5
- data/spec/vcr_cassettes/list_spots.yml +6005 -1980
- data/spec/vcr_cassettes/list_spots_by_radar.yml +1095 -28
- data/spec/vcr_cassettes/list_spots_with_multiple_types.yml +3563 -1368
- data/spec/vcr_cassettes/list_spots_with_name.yml +216 -57
- data/spec/vcr_cassettes/list_spots_with_name_and_types.yml +216 -57
- data/spec/vcr_cassettes/list_spots_with_single_type.yml +1103 -381
- data/spec/vcr_cassettes/list_spots_with_types_and_exclusion.yml +3564 -1368
- data/spec/vcr_cassettes/multiple_page_request.yml +2809 -391
- data/spec/vcr_cassettes/photo.yml +43 -2
- data/spec/vcr_cassettes/premium_list_spots_with_data.yml +503 -184
- data/spec/vcr_cassettes/single_spot.yml +1155 -241
- data/spec/vcr_setup.rb +2 -1
- metadata +19 -19
@@ -32,15 +32,29 @@ http_interactions:
|
|
32
32
|
- Sat, 14 Jul 2012 04:45:01 GMT
|
33
33
|
body:
|
34
34
|
encoding: UTF-8
|
35
|
-
string:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
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" : "CoQBewAAAG4unfkYAClRutEKNO3rDhTyxUA9eLndykaGS7fgv6SMW2v_oBLO9y2L85PypdEqQakwEUq77Ilg5iH4npiL3SImdKVZiSEm1kuQ90aczlPCSeqNVtRe8aTU5R_QQ2SOMm951YnTGoH7P6_g9uEcGxblNbmB-r1THh0_tgTFXZbIEhB-FHwnlZYUlVIff9oVKUJHGhQ1roaNmXtQudL_pfUObI05ueEgHg",
|
52
|
+
"types" : [ "establishment" ],
|
53
|
+
"vicinity" : "46 Harris Street, Pyrmont"
|
54
|
+
}
|
55
|
+
],
|
56
|
+
"status" : "OK"
|
57
|
+
}
|
44
58
|
http_version: '1.1'
|
45
59
|
recorded_at: Sat, 14 Jul 2012 04:45:14 GMT
|
46
60
|
- request:
|
@@ -75,21 +89,43 @@ http_interactions:
|
|
75
89
|
- close
|
76
90
|
body:
|
77
91
|
encoding: US-ASCII
|
78
|
-
string:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
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" : "CpQBjgAAAM0oOVmxC0Ee1yJ7L-yjJespq3WyHbnfrpqO5QTGebj5gbwXCQTbL__dgxghFVDErBY-AMRqtT_IWOiOW8FyjHWxVx1WND-HAZShvGdiYvTTfIdY7I1HY7VBhtsOdtAmcdGk1ibYTHqMNxmwrVLd41enwH_YNOyIbFgoHvJhXdc2nztnmZeNmys8jzNKf7bq2BIQumzozCJXe9B2fnRTBkxXOhoUJbgQCHrXiNQ6hYhB8tT54FI5Oys",
|
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" : "CpQBhgAAAMTqrw70SHf1wKJHYzeGMLjkPuMNeslViXWHz_6W9IoOpxmD65C-ziQd-LmNqClnXOHTO3IchoiydtuIq0uDDezII7zhxFBC2I4Lubi_M5yIXsTlXGenPAAQROxxqSp-I080M_Vr8iRTDWInpoVihbcWCb8cV_GLx4RHrgiGkhuptdUYqvPfKwYPAYCKTMkHtxIQWuLe2AsTLGbhcFgscECSMxoUZKxskGrL0qbTTwHfyAoJZ-NeKLc",
|
123
|
+
"types" : [ "establishment" ],
|
124
|
+
"vicinity" : "46 Harris Street, Pyrmont"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"status" : "OK"
|
128
|
+
}
|
93
129
|
http_version: '1.1'
|
94
130
|
recorded_at: Mon, 03 Dec 2012 14:32:21 GMT
|
95
131
|
- request:
|
@@ -124,21 +160,43 @@ http_interactions:
|
|
124
160
|
- close
|
125
161
|
body:
|
126
162
|
encoding: US-ASCII
|
127
|
-
string:
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
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" : "CpQBjgAAAD5RxNX6O7f-N0Jk-ApYW1-vqd7GBY45V_x3GlQrpvNFJZJHr9-GcbBS62VaYcdlXD8a6opOXsp378e0jdRXmrfMTWXlgkEc558QJc-_BOk_ZJctpTHM5S6T8eKajIdDnuk3-XB16LapIErPZFBm6N5Qtb5nG6Hz83crj7EIg0VFn9g2hgNdO_SYaSlY5wiQIBIQprv10jednbmG2_rMLhC_TBoURiZnJRWK48vikU3C1bcCjyH_dzM",
|
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" : "CpQBhgAAAF3lnZsFuDXmThUMgmDa_pp6czjXO-5pVGnL-ubaE5IQ1u7I_DoowfICMOvmmBZiVNptbL7U_ykczaIRH1DT5zat58w7ep_HwYa3LK4uiC9CmhkquvxTMizxmwmk4dGmOsY8u9ZEPRcCmG4H6X5l-RpBeGO1ItnH_d1wJ4G6jqUu1AS5gRLRSddtet5eAp9KQBIQy9wQb_FaSpaL9R8sVXtO4hoUa9_x7UiDj4WBZwuRzEFhjtcZ6lQ",
|
194
|
+
"types" : [ "establishment" ],
|
195
|
+
"vicinity" : "46 Harris Street, Pyrmont"
|
196
|
+
}
|
197
|
+
],
|
198
|
+
"status" : "OK"
|
199
|
+
}
|
142
200
|
http_version: '1.1'
|
143
201
|
recorded_at: Mon, 03 Dec 2012 14:35:10 GMT
|
144
202
|
- request:
|
@@ -171,21 +229,43 @@ http_interactions:
|
|
171
229
|
- close
|
172
230
|
body:
|
173
231
|
encoding: US-ASCII
|
174
|
-
string:
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
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" : "CpQBjwAAAAas37aQqz5lhym8u7dA1uy7mB3rOYfZTtRJ9AF1ynxonqpIeo7n9TyW3VOi575E1w3vFgamEuExSt4HkXXM4q0suFPk5f9Mq-KT2RIP3BIk8LUALMVRauLYaiAvDHfWbjRwgB96ETV6oRZB1c-939GaQhic0Pxt1wQOd4y2yDp4R_jNXlPbJiKETzgv7_6ilRIQxJWaV1KvL7XZhwPLwdtajBoUK98bB1dV6V1UhWJE34322ZqEwBQ",
|
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" : "CpQBhwAAAKyJv9WDdfMwhuH5oF3WR-HPeXVCl4iC-L8RkkD9UCYdX70BTd6478_umCagvsinoGYoPRYFmlbXEx0qGcY5OYO_7zmu1C78CQlEOOIDkiG0uFVrKbwtyYXpy1zyNr8x0A5rL15mGWRCyd4PtypoSSMxMvASgRd_CdUMYulwYmUmFEL_MTbj26gEIp7XoA0p7xIQyalRhFL6lLoh8rrzexdNKRoUoRhp_FzvfBhuGHcuXmAobTT288k",
|
263
|
+
"types" : [ "establishment" ],
|
264
|
+
"vicinity" : "46 Harris Street, Pyrmont"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"status" : "OK"
|
268
|
+
}
|
189
269
|
http_version: '1.1'
|
190
270
|
recorded_at: Mon, 03 Dec 2012 14:42:29 GMT
|
191
271
|
- request:
|
@@ -218,8 +298,87 @@ http_interactions:
|
|
218
298
|
- close
|
219
299
|
body:
|
220
300
|
encoding: US-ASCII
|
221
|
-
string:
|
222
|
-
|
301
|
+
string: |
|
302
|
+
{
|
303
|
+
"html_attributions" : [],
|
304
|
+
"results" : [],
|
305
|
+
"status" : "REQUEST_DENIED"
|
306
|
+
}
|
223
307
|
http_version: '1.1'
|
224
308
|
recorded_at: Fri, 22 Mar 2013 10:47:55 GMT
|
225
|
-
|
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=&sensor=false
|
312
|
+
body:
|
313
|
+
encoding: US-ASCII
|
314
|
+
string: ''
|
315
|
+
headers: {}
|
316
|
+
response:
|
317
|
+
status:
|
318
|
+
code: 200
|
319
|
+
message: OK
|
320
|
+
headers:
|
321
|
+
Content-Type:
|
322
|
+
- application/json; charset=UTF-8
|
323
|
+
Date:
|
324
|
+
- Mon, 21 Jul 2014 11:28:59 GMT
|
325
|
+
Expires:
|
326
|
+
- Mon, 21 Jul 2014 11:33:59 GMT
|
327
|
+
Cache-Control:
|
328
|
+
- public, max-age=300
|
329
|
+
Vary:
|
330
|
+
- Accept-Language
|
331
|
+
Server:
|
332
|
+
- mafe
|
333
|
+
X-Xss-Protection:
|
334
|
+
- 1; mode=block
|
335
|
+
X-Frame-Options:
|
336
|
+
- SAMEORIGIN
|
337
|
+
Alternate-Protocol:
|
338
|
+
- 443:quic
|
339
|
+
Transfer-Encoding:
|
340
|
+
- chunked
|
341
|
+
body:
|
342
|
+
encoding: UTF-8
|
343
|
+
string: |
|
344
|
+
{
|
345
|
+
"html_attributions" : [],
|
346
|
+
"results" : [
|
347
|
+
{
|
348
|
+
"geometry" : {
|
349
|
+
"location" : {
|
350
|
+
"lat" : -33.866669,
|
351
|
+
"lng" : 151.192282
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
355
|
+
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
356
|
+
"name" : "Raffinato Italian Restaurant",
|
357
|
+
"place_id" : "ChIJIRtr0TWuEmsRq_tQAbxShPg",
|
358
|
+
"reference" : "CoQBfgAAAIEIwzS4FNkjpUOy6mxMSLU_k0KDRJjdiK0RJ4e0XMYPjfTrK5COg_GLRVU9YloAtD6T0rMuUsknQr3Bjqz6t28EdUihB7MwtAEJMErGuotMaYQfoUZqQl-neuw2b4hsTcnGxAfBAiNcvxfCHmw21_lpPdi8lYMdyJNCPKv-LBZFEhBVsiCmScM8FrtJSUxZ4U6AGhT5Imkyhj8YQAUpIjVyW7NdhIdOpw",
|
359
|
+
"scope" : "GOOGLE",
|
360
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
361
|
+
"vicinity" : "46 Harris St, Pyrmont"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"geometry" : {
|
365
|
+
"location" : {
|
366
|
+
"lat" : -33.86771,
|
367
|
+
"lng" : 151.191917
|
368
|
+
}
|
369
|
+
},
|
370
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
371
|
+
"id" : "2e2a9c116f1110a816d6f78585018c73663218d4",
|
372
|
+
"name" : "Italian Kitchen Express",
|
373
|
+
"place_id" : "ChIJN97jOjSuEmsRQN_2Q36vGbY",
|
374
|
+
"reference" : "CoQBeQAAALzh5QCAwvjCQyb3h8Hwi4VzrmIlO9DWPM1CHex-SRAH7VLUqneINcd08h2FYH6STHuL99UWjuz_BPUrdeOYd0thLfhaCc3a6q7h1AEjPxtQwyHAbGYEjwEO8Lv2m5NFpBMEIknFe7pnTU7zDQTgVLuX9qYwzTl5X4rVo4kafz4DEhADITz2kSR3TGf5DYMhyFxtGhQzZIavhUI_i-w48066BmItmvFdfQ",
|
375
|
+
"scope" : "GOOGLE",
|
376
|
+
"types" : [ "restaurant", "home_goods_store", "store", "food", "establishment" ],
|
377
|
+
"vicinity" : "6/45-55 Harris St, Pyrmont"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"status" : "OK"
|
381
|
+
}
|
382
|
+
http_version:
|
383
|
+
recorded_at: Mon, 21 Jul 2014 11:28:59 GMT
|
384
|
+
recorded_with: VCR 2.9.2
|
@@ -32,15 +32,29 @@ http_interactions:
|
|
32
32
|
- Sat, 14 Jul 2012 04:45:02 GMT
|
33
33
|
body:
|
34
34
|
encoding: UTF-8
|
35
|
-
string:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
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
|
+
}
|
44
58
|
http_version: '1.1'
|
45
59
|
recorded_at: Sat, 14 Jul 2012 04:45:15 GMT
|
46
60
|
- request:
|
@@ -75,21 +89,43 @@ http_interactions:
|
|
75
89
|
- close
|
76
90
|
body:
|
77
91
|
encoding: US-ASCII
|
78
|
-
string:
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
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
|
+
}
|
93
129
|
http_version: '1.1'
|
94
130
|
recorded_at: Mon, 03 Dec 2012 14:32:21 GMT
|
95
131
|
- request:
|
@@ -124,21 +160,43 @@ http_interactions:
|
|
124
160
|
- close
|
125
161
|
body:
|
126
162
|
encoding: US-ASCII
|
127
|
-
string:
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
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
|
+
}
|
142
200
|
http_version: '1.1'
|
143
201
|
recorded_at: Mon, 03 Dec 2012 14:35:10 GMT
|
144
202
|
- request:
|
@@ -171,21 +229,43 @@ http_interactions:
|
|
171
229
|
- close
|
172
230
|
body:
|
173
231
|
encoding: US-ASCII
|
174
|
-
string:
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
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
|
+
}
|
189
269
|
http_version: '1.1'
|
190
270
|
recorded_at: Mon, 03 Dec 2012 14:42:29 GMT
|
191
271
|
- request:
|
@@ -218,8 +298,87 @@ http_interactions:
|
|
218
298
|
- close
|
219
299
|
body:
|
220
300
|
encoding: US-ASCII
|
221
|
-
string:
|
222
|
-
|
301
|
+
string: |
|
302
|
+
{
|
303
|
+
"html_attributions" : [],
|
304
|
+
"results" : [],
|
305
|
+
"status" : "REQUEST_DENIED"
|
306
|
+
}
|
223
307
|
http_version: '1.1'
|
224
308
|
recorded_at: Fri, 22 Mar 2013 10:47:55 GMT
|
225
|
-
|
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=&sensor=false&types=food%7Cestablishment
|
312
|
+
body:
|
313
|
+
encoding: US-ASCII
|
314
|
+
string: ''
|
315
|
+
headers: {}
|
316
|
+
response:
|
317
|
+
status:
|
318
|
+
code: 200
|
319
|
+
message: OK
|
320
|
+
headers:
|
321
|
+
Content-Type:
|
322
|
+
- application/json; charset=UTF-8
|
323
|
+
Date:
|
324
|
+
- Mon, 21 Jul 2014 11:28:59 GMT
|
325
|
+
Expires:
|
326
|
+
- Mon, 21 Jul 2014 11:33:59 GMT
|
327
|
+
Cache-Control:
|
328
|
+
- public, max-age=300
|
329
|
+
Vary:
|
330
|
+
- Accept-Language
|
331
|
+
Server:
|
332
|
+
- mafe
|
333
|
+
X-Xss-Protection:
|
334
|
+
- 1; mode=block
|
335
|
+
X-Frame-Options:
|
336
|
+
- SAMEORIGIN
|
337
|
+
Alternate-Protocol:
|
338
|
+
- 443:quic
|
339
|
+
Transfer-Encoding:
|
340
|
+
- chunked
|
341
|
+
body:
|
342
|
+
encoding: UTF-8
|
343
|
+
string: |
|
344
|
+
{
|
345
|
+
"html_attributions" : [],
|
346
|
+
"results" : [
|
347
|
+
{
|
348
|
+
"geometry" : {
|
349
|
+
"location" : {
|
350
|
+
"lat" : -33.866669,
|
351
|
+
"lng" : 151.192282
|
352
|
+
}
|
353
|
+
},
|
354
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
355
|
+
"id" : "954a594077141a5f37fa1fb4340988bada9a93f0",
|
356
|
+
"name" : "Raffinato Italian Restaurant",
|
357
|
+
"place_id" : "ChIJIRtr0TWuEmsRq_tQAbxShPg",
|
358
|
+
"reference" : "CoQBfgAAANvNmHyB3WlaL3BG1YqvtJIEpcrLkrIAFQwNPgEFBk06MK3013zLa2hwwl9VpgGhBd9o37vo5yh1RlQGZjyO7EVyoK3J99Re8-Y3328oc4VI06-hIkduFXZf7q3Vo-bhl2PdUCPvC5NdGRuFFk2thOAuiDO49397puegzn7Pwxu2EhCcSCYlE8QNkehCq_fV9J1dGhQLJYlz9jl4m4qN3WGUPCaBl7eHZA",
|
359
|
+
"scope" : "GOOGLE",
|
360
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
361
|
+
"vicinity" : "46 Harris St, Pyrmont"
|
362
|
+
},
|
363
|
+
{
|
364
|
+
"geometry" : {
|
365
|
+
"location" : {
|
366
|
+
"lat" : -33.86771,
|
367
|
+
"lng" : 151.191917
|
368
|
+
}
|
369
|
+
},
|
370
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
371
|
+
"id" : "2e2a9c116f1110a816d6f78585018c73663218d4",
|
372
|
+
"name" : "Italian Kitchen Express",
|
373
|
+
"place_id" : "ChIJN97jOjSuEmsRQN_2Q36vGbY",
|
374
|
+
"reference" : "CoQBeQAAADIw9DsbDDoFbFYNOP_MYp3C0fFCI_GLCS5A5GiaRisEpBKeRIQaROkEG-3PPkkIXtrsBaNEkKQBXH1yZ1cA1O7N15bI-eENl4Xp9AhgTJDptlM3lPiBaic_DSuj3HDe1hbLF5jLiG-JPlmtrdtSzS_3IOXeCXp3SgISsyYSzzG4EhDte7AcYJStaKDBS0_9nOFxGhRvyk3BU2MIDHJiMTlUfiQmih4QWw",
|
375
|
+
"scope" : "GOOGLE",
|
376
|
+
"types" : [ "restaurant", "home_goods_store", "store", "food", "establishment" ],
|
377
|
+
"vicinity" : "6/45-55 Harris St, Pyrmont"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"status" : "OK"
|
381
|
+
}
|
382
|
+
http_version:
|
383
|
+
recorded_at: Mon, 21 Jul 2014 11:28:59 GMT
|
384
|
+
recorded_with: VCR 2.9.2
|