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
@@ -38,9 +38,50 @@ http_interactions:
|
|
38
38
|
- close
|
39
39
|
body:
|
40
40
|
encoding: US-ASCII
|
41
|
-
string:
|
41
|
+
string: "<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n<TITLE>302
|
42
42
|
Moved</TITLE></HEAD><BODY>\n<H1>302 Moved</H1>\nThe document has moved\n<A
|
43
43
|
HREF=\"https://lh4.googleusercontent.com/-1wzlVdxiW14/USSFZnhNqxI/AAAAAAAABGw/YpdANqaoGh4/s1600-w400/Google%2BSydney\">here</A>.\r\n</BODY></HTML>\r\n"
|
44
44
|
http_version: '1.1'
|
45
45
|
recorded_at: Fri, 18 Oct 2013 10:27:29 GMT
|
46
|
-
|
46
|
+
- request:
|
47
|
+
method: get
|
48
|
+
uri: https://maps.googleapis.com/maps/api/place/photo?key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0&maxwidth=400&photoreference=CnRtAAAACQQXR83Jc3Pffxt1Zx7QbCe6AfY2negSNzkk2IeSf0q5nxHgartLzkr1fltSlkEDSS-EZqswWAW2eQDbiOl12J-V4Rmn_JNko9e9gSnMwxHBdmScu_84NMSe-0RwB9BM6AEqE8sENXQ8cpWaiEsC_RIQLzIJxpRdoqSPrPtrjTrOhxoUWb8uwObkV4duXfKIiNB20gfnu88&sensor=false
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers: {}
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 302
|
56
|
+
message: Found
|
57
|
+
headers:
|
58
|
+
Date:
|
59
|
+
- Mon, 21 Jul 2014 11:28:36 GMT
|
60
|
+
Pragma:
|
61
|
+
- no-cache
|
62
|
+
Expires:
|
63
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
64
|
+
Cache-Control:
|
65
|
+
- no-cache, must-revalidate
|
66
|
+
Location:
|
67
|
+
- https://lh4.googleusercontent.com/-1wzlVdxiW14/USSFZnhNqxI/AAAAAAAABGw/YpdANqaoGh4/s1600-w400/Google%2BSydney
|
68
|
+
Content-Type:
|
69
|
+
- text/html; charset=UTF-8
|
70
|
+
Server:
|
71
|
+
- mafe
|
72
|
+
Content-Length:
|
73
|
+
- '306'
|
74
|
+
X-Xss-Protection:
|
75
|
+
- 1; mode=block
|
76
|
+
X-Frame-Options:
|
77
|
+
- SAMEORIGIN
|
78
|
+
Alternate-Protocol:
|
79
|
+
- 443:quic
|
80
|
+
body:
|
81
|
+
encoding: UTF-8
|
82
|
+
string: "<HTML><HEAD><meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n<TITLE>302
|
83
|
+
Moved</TITLE></HEAD><BODY>\n<H1>302 Moved</H1>\nThe document has moved\n<A
|
84
|
+
HREF=\"https://lh4.googleusercontent.com/-1wzlVdxiW14/USSFZnhNqxI/AAAAAAAABGw/YpdANqaoGh4/s1600-w400/Google%2BSydney\">here</A>.\r\n</BODY></HTML>\r\n"
|
85
|
+
http_version:
|
86
|
+
recorded_at: Mon, 21 Jul 2014 11:28:36 GMT
|
87
|
+
recorded_with: VCR 2.9.2
|
@@ -30,189 +30,463 @@ http_interactions:
|
|
30
30
|
- close
|
31
31
|
body:
|
32
32
|
encoding: US-ASCII
|
33
|
-
string:
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
33
|
+
string: |
|
34
|
+
{
|
35
|
+
"html_attributions" : [],
|
36
|
+
"results" : [
|
37
|
+
{
|
38
|
+
"aspects" : [
|
39
|
+
{
|
40
|
+
"rating" : 28,
|
41
|
+
"type" : "food"
|
42
|
+
}
|
43
|
+
],
|
44
|
+
"geometry" : {
|
45
|
+
"location" : {
|
46
|
+
"lat" : 39.6406840,
|
47
|
+
"lng" : -106.3748440
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
51
|
+
"id" : "196f1e491655350f21c23fa4ab54326bd66d65d1",
|
52
|
+
"name" : "Sweet Basil",
|
53
|
+
"opening_hours" : {
|
54
|
+
"open_now" : false
|
55
|
+
},
|
56
|
+
"price_level" : 3,
|
57
|
+
"rating" : 4.50,
|
58
|
+
"reference" : "CnRpAAAAhpyrLL36QODbvtq5TCkJYiEmvERhrg_slkSrLBgoh_7e196CxAG4abOlD8_YQkrbePwc6NQCYI14Hz5TuI0vDnMgha5dXedKVXKLw8125Qvk2DLOl2vYZlOdNdniGpXD1UxoaA-neTQsWSyittG_XBIQEXOrpxY8A7KUek2dRTT69RoUZMep0CZwtXWoA1E4E-oWQtl0m7s",
|
59
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
60
|
+
"vicinity" : "193 Gore Creek Drive #201, Vail",
|
61
|
+
"zagat_reviewed" : true,
|
62
|
+
"zagat_selected" : true
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"aspects" : [
|
66
|
+
{
|
67
|
+
"rating" : 26,
|
68
|
+
"type" : "food"
|
69
|
+
}
|
70
|
+
],
|
71
|
+
"geometry" : {
|
72
|
+
"location" : {
|
73
|
+
"lat" : 39.6391660,
|
74
|
+
"lng" : -106.3694410
|
75
|
+
}
|
76
|
+
},
|
77
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
78
|
+
"id" : "e184aede3a644c221d8034d6a48985f34be4b459",
|
79
|
+
"name" : "Larkspur Restaurant",
|
80
|
+
"photos" : [
|
81
|
+
{
|
82
|
+
"height" : 968,
|
83
|
+
"html_attributions" : [ "From a Google User" ],
|
84
|
+
"photo_reference" : "CnRwAAAA4aNyeLpDCDAr-fiN-OS6AArajpG1Phu_iUf6KQofdJywATbmHAQlTc7OXw5KenqWKpqOFJU89libucmPLRy55weC0MQCPOIcvUM4Go8Kstm7ihW5gfYatOGpCC63T2HVjQ4ij_U7HxzhuzUdswTOzRIQGCssbLs4pxg9Cr7U_pcfTxoUX46F6bI3GoF0p1_4SO_d87UHEa0",
|
85
|
+
"width" : 1296
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"price_level" : 3,
|
89
|
+
"rating" : 4.50,
|
90
|
+
"reference" : "CoQBcgAAAAwUhC0dXgvElncVXmrypXtA_A1zJUSt-XpMRx4VMKs4kCnm_dzAeWwY8mJdjV27JBIvpfCsfxj1WG0TB7DffZmb9W-bGvvIoSVwYIJNYgrvrtH5rNEgcDJ-27DlfGeruDZPgu7bVJ2UtjzEJQircQ5djoqxnHCzjcDKEl9CoPZ2EhBrYVIwM7NCZ2LU0ZO6ms5xGhT9Qt6NeZ-U8kSe5o3V1cSrHMTU6A",
|
91
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
92
|
+
"vicinity" : "458 Vail Valley Drive, Vail",
|
93
|
+
"zagat_reviewed" : true,
|
94
|
+
"zagat_selected" : true
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"aspects" : [
|
98
|
+
{
|
99
|
+
"rating" : 22,
|
100
|
+
"type" : "food"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"geometry" : {
|
104
|
+
"location" : {
|
105
|
+
"lat" : 39.6422290,
|
106
|
+
"lng" : -106.3771050
|
107
|
+
}
|
108
|
+
},
|
109
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
110
|
+
"id" : "3a053148ec43c519510efca86241632bbb58eb8d",
|
111
|
+
"name" : "Campo De Fiori",
|
112
|
+
"opening_hours" : {
|
113
|
+
"open_now" : false
|
114
|
+
},
|
115
|
+
"price_level" : 3,
|
116
|
+
"rating" : 4.10,
|
117
|
+
"reference" : "CnRsAAAAZMtmUNasWQ5vi3wvIPx86vJC2zUz-blsU5iEMgKBV9HVpMteTz2YX3TAtatqg_kU8F2lkyGnh8DAAhRDjsgKp9sWxphsLNABzRn1ohaF6vpTtGtw8ro_1QCXw8qkcCocu1TAHETleepu5kAja4bI6BIQSejKUwfsJlCaltjIcohFdBoUSSo3CtXd-NCf-2mccpHwl54GG5o",
|
118
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
119
|
+
"vicinity" : "100 East Meadow Drive #24, Vail",
|
120
|
+
"zagat_reviewed" : true,
|
121
|
+
"zagat_selected" : true
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"aspects" : [
|
125
|
+
{
|
126
|
+
"rating" : 26,
|
127
|
+
"type" : "food"
|
128
|
+
}
|
129
|
+
],
|
130
|
+
"geometry" : {
|
131
|
+
"location" : {
|
132
|
+
"lat" : 39.6428930,
|
133
|
+
"lng" : -106.3779990
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
137
|
+
"id" : "2e5845de12fbac27db8ba0fa0cfec991c963584f",
|
138
|
+
"name" : "Kelly Liken",
|
139
|
+
"opening_hours" : {
|
140
|
+
"open_now" : false
|
141
|
+
},
|
142
|
+
"price_level" : 2,
|
143
|
+
"rating" : 4.40,
|
144
|
+
"reference" : "CnRqAAAAN12N6ug9_IIyU5IQcETVvp9NpvYJvCfKbLnR-90KiPjY0d5aiOJ2HvG8QrIxBcSOW1AxLMGoArIgVPNhjq4pJsXhZUHviuVeQYjrvJKLgrqBGiyJYXc72i025V5cvw2LN7VnGKUHpQ_cnTvaHPC11hIQAiu7nso54ag29iKVca4FVxoUuK1Z0sVzQiMaeHp79nhG5qRH81s",
|
145
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
146
|
+
"vicinity" : "12 Vail Road #100, Vail",
|
147
|
+
"zagat_reviewed" : true,
|
148
|
+
"zagat_selected" : true
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"aspects" : [
|
152
|
+
{
|
153
|
+
"rating" : 25,
|
154
|
+
"type" : "food"
|
155
|
+
}
|
156
|
+
],
|
157
|
+
"geometry" : {
|
158
|
+
"location" : {
|
159
|
+
"lat" : 39.641910,
|
160
|
+
"lng" : -106.3752040
|
161
|
+
}
|
162
|
+
},
|
163
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png",
|
164
|
+
"id" : "f5c06cc48a5bac940fdff39568894ad548f0d46f",
|
165
|
+
"name" : "La Tour",
|
166
|
+
"opening_hours" : {
|
167
|
+
"open_now" : false
|
168
|
+
},
|
169
|
+
"photos" : [
|
170
|
+
{
|
171
|
+
"height" : 850,
|
172
|
+
"html_attributions" : [],
|
173
|
+
"photo_reference" : "CoQBdwAAAE_mz1GwF_JLqU_QYD32pO3BpUMwympBBrfekb9p1yoF6fX-u5IHj0gZHNVvdShd0Kvf2O1KKkQbgq0WwjFe2Y54hPIiEGDj9IZGBfCCgCtbjYj_cxuMNzwnVJbwbY5F9ycpii_WoSeOaLMaxDGtTePABP9EttwV6km8-Y0iWgPNEhAGNUFoWCFgSuJcyxVeW-e0GhS3MtBn5ll6rxIFFbOUB6N3YTuWAA",
|
174
|
+
"width" : 949
|
175
|
+
}
|
176
|
+
],
|
177
|
+
"price_level" : 2,
|
178
|
+
"rating" : 4.50,
|
179
|
+
"reference" : "CnRlAAAAclM1-NKjt52bNfBqDU6pSKdv-9cKIweOwYxekPuRlKytQmGpnvcjeBu1C-DBjgPKl4BqgAU5UiNMJDwDLH7dQSNpZ8_VHUTBmOD_qOXOo0jhBoS0P-4BAPCqr51np9TXNtyTiQ90Ear-huL4BY5cDhIQcFjjzFRVsAVNzY5DoJ_K-BoUG65X2qQikmKWEAuhda0-jNnW69Q",
|
180
|
+
"types" : [ "bar", "restaurant", "food", "establishment" ],
|
181
|
+
"vicinity" : "122 East Meadow Drive, Vail",
|
182
|
+
"zagat_reviewed" : true,
|
183
|
+
"zagat_selected" : true
|
184
|
+
},
|
185
|
+
{
|
186
|
+
"aspects" : [
|
187
|
+
{
|
188
|
+
"rating" : 26,
|
189
|
+
"type" : "food"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"geometry" : {
|
193
|
+
"location" : {
|
194
|
+
"lat" : 39.6063240,
|
195
|
+
"lng" : -106.5208330
|
196
|
+
}
|
197
|
+
},
|
198
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
199
|
+
"id" : "2e8e27b226d32ce201b99bab35251a2d6abcd8a2",
|
200
|
+
"name" : "Grouse Mountain Grill",
|
201
|
+
"opening_hours" : {
|
202
|
+
"open_now" : false
|
203
|
+
},
|
204
|
+
"price_level" : 2,
|
205
|
+
"rating" : 4.50,
|
206
|
+
"reference" : "CoQBcwAAAL7PYhY6VbIOjfLtxGW_xZSRZ7iIruyc5eTxfPx3st87COBfFyExtl07_QYNX4H-h3WsQezZuiQFlqMjWRcJwWiTw8ZPFOOuBjsJWC9nB0EAPGg8p2A-dOpVrYKjdG37wo1UvE9MgLH0cpbwslGFzS6khTBbEc8nWj0YGSbJ_6fuEhAmx9S-XJcFLuiyx-6HWir6GhTYfA-03mQCpRIPSUm8tXXWqN8hzg",
|
207
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
208
|
+
"vicinity" : "141 Scott Hill Road, Avon",
|
209
|
+
"zagat_reviewed" : true,
|
210
|
+
"zagat_selected" : true
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"aspects" : [
|
214
|
+
{
|
215
|
+
"rating" : 25,
|
216
|
+
"type" : "food"
|
217
|
+
}
|
218
|
+
],
|
219
|
+
"geometry" : {
|
220
|
+
"location" : {
|
221
|
+
"lat" : 39.6408920,
|
222
|
+
"lng" : -106.3753360
|
223
|
+
}
|
224
|
+
},
|
225
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
226
|
+
"id" : "5b837ad65d37cd3201c4843c1b1bba90b7017eae",
|
227
|
+
"name" : "The Left Bank Restaurant",
|
228
|
+
"opening_hours" : {
|
229
|
+
"open_now" : false
|
230
|
+
},
|
231
|
+
"photos" : [
|
232
|
+
{
|
233
|
+
"height" : 864,
|
234
|
+
"html_attributions" : [],
|
235
|
+
"photo_reference" : "CoQBfAAAAP1SHSOXOYWfXUerg9XX9EcM7wPuC7IpZybyFt4mG9w9gcnNvvOo_TAJsS0vbML9t3bbhdI_dKgLBvudySmDcwTNx_f40xdzJ_tBnM6SeNwc8t59fDVhIh5aqpk4kMOZbyIdPTxG5tTlX3iVW8vgxUArRj-kKtKU_hxnl4Txx-LCEhC4EK9p_ol4KZt-FVFPzSmLGhR9GV6Y8pxP7vswjCGpzhe9LwDeDA",
|
236
|
+
"width" : 585
|
237
|
+
}
|
238
|
+
],
|
239
|
+
"price_level" : 3,
|
240
|
+
"rating" : 4.30,
|
241
|
+
"reference" : "CoQBdwAAAMc2lgAGp3ia9pc744iEztbWZqx5M1_fcGzv1wvV1-GR5EZSUbiuO_bsODDE7pN9VFIXD9ITBJ3K32bo0OxEfHlZuIxHfjRbVm-GqDfZK9DjvUYNTthR3t9id26NtFfZ7sc5Opjd5CFiFUA2aJ6bpuhtCM3dpM3usXOoDUmfgkFVEhDwaz4eHLu7FpjJLQEbcJPUGhTS3PRB6XnZ_i_KyOX0GPmqpeUJQA",
|
242
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
243
|
+
"vicinity" : "183 Gore Creek Drive, Vail",
|
244
|
+
"zagat_reviewed" : true,
|
245
|
+
"zagat_selected" : true
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"aspects" : [
|
249
|
+
{
|
250
|
+
"rating" : 26,
|
251
|
+
"type" : "food"
|
252
|
+
}
|
253
|
+
],
|
254
|
+
"geometry" : {
|
255
|
+
"location" : {
|
256
|
+
"lat" : 39.6438460,
|
257
|
+
"lng" : -106.5917260
|
258
|
+
}
|
259
|
+
},
|
260
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
261
|
+
"id" : "ba60d497ccba77e9afe481d1fc1cf8acb88003f3",
|
262
|
+
"name" : "Juniper Restaurant",
|
263
|
+
"opening_hours" : {
|
264
|
+
"open_now" : false
|
265
|
+
},
|
266
|
+
"photos" : [
|
267
|
+
{
|
268
|
+
"height" : 600,
|
269
|
+
"html_attributions" : [],
|
270
|
+
"photo_reference" : "CnRvAAAAq1ioZVmWOVTorPFInmA-SXrChY4cJz5_OF5_IUkxtWyw0SGHj13SONMSVikaCLHnmcIfYU71NFqNYxMDoS_6QxBYEhNUureWTv9thbFOss_TW1tB3t4gQGwSR6bHaXTRs_RIjskckNvD2I7pdsY2ZBIQfmNwN1yp7YfOSJoMfjdZkBoUoCYKbOyMFaPCaxCirKY79K4URQ0",
|
271
|
+
"width" : 600
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"price_level" : 2,
|
275
|
+
"rating" : 4.30,
|
276
|
+
"reference" : "CnRwAAAAGXtH9iEWVFj0VxZzdbp7pDADkysBUr08tjLTdi9QylzQPiMO3d_TYd7-iNdSh6-euP8L_qCVWGhAS020oGCbCO0kxL5S9HTYAOv1-ExlPg90XgWivoGdI_6guya8iCMa8_OcdeX6zDvJSSTTitlB3BIQnE72P3lUFRax1AHM-oJzhBoUh4aqeFzi4GsD1lv7kJbFCj28cO0",
|
277
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
278
|
+
"vicinity" : "97 Main Street, Edwards",
|
279
|
+
"zagat_reviewed" : true,
|
280
|
+
"zagat_selected" : true
|
281
|
+
},
|
282
|
+
{
|
283
|
+
"aspects" : [
|
284
|
+
{
|
285
|
+
"rating" : 23,
|
286
|
+
"type" : "food"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"geometry" : {
|
290
|
+
"location" : {
|
291
|
+
"lat" : 39.6435780,
|
292
|
+
"lng" : -106.5943150
|
293
|
+
}
|
294
|
+
},
|
295
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
296
|
+
"id" : "116baa87a7dcfdd4a1fc0f71e97feafe15f443fd",
|
297
|
+
"name" : "Dish",
|
298
|
+
"opening_hours" : {
|
299
|
+
"open_now" : false
|
300
|
+
},
|
301
|
+
"price_level" : 1,
|
302
|
+
"rating" : 4.30,
|
303
|
+
"reference" : "CnRjAAAA4JztY-AgPVPDwztmkkTIGmdHummeZq-g0OalKN8Wb7dKyPxnKdT7KHQ-m_z-_r3VqaJk5qqSN6q0LWayZjf6uQStU18BB7DAjFQ16963WEVe5Pg2Ana-mDDPKxVCmkPfTbkpi80a-_oD97NQErDXiBIQhO7yE8eyaQgvwWbC-K90cBoUX9AQ7Tvo6M2eu-gWYHKooTw7MBg",
|
304
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
305
|
+
"vicinity" : "56 Edwards Village Boulevard, Edwards",
|
306
|
+
"zagat_reviewed" : true,
|
307
|
+
"zagat_selected" : true
|
308
|
+
},
|
309
|
+
{
|
310
|
+
"aspects" : [
|
311
|
+
{
|
312
|
+
"rating" : 21,
|
313
|
+
"type" : "food"
|
314
|
+
}
|
315
|
+
],
|
316
|
+
"geometry" : {
|
317
|
+
"location" : {
|
318
|
+
"lat" : 39.6482410,
|
319
|
+
"lng" : -106.567340
|
320
|
+
}
|
321
|
+
},
|
322
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
323
|
+
"id" : "fb0042518ced73fd1da56ca944275d06fa960e94",
|
324
|
+
"name" : "Balata",
|
325
|
+
"price_level" : 2,
|
326
|
+
"rating" : 4.10,
|
327
|
+
"reference" : "CnRkAAAAEkNrBBrX0YX5SQCFEaPG1GDmitHVqfcrvFqdc19uL-7qJQqEVuafU1zZzLMeS1Iwwn5TYkKlqeBIeT5NjuWJB3DXjFjQSq4Y0FMKL3DdL8ZlLj_xY7WD9e2jl49iGfj8fF2G9FXleZgJEXdqfmKrEBIQGm3jtqzcR1I2_JJFcEA4DBoURgoBduY6-v8a_pxfUGJ8YRjZLkI",
|
328
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
329
|
+
"vicinity" : "1265 Berry Creek Road, Edwards",
|
330
|
+
"zagat_reviewed" : true,
|
331
|
+
"zagat_selected" : true
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"aspects" : [
|
335
|
+
{
|
336
|
+
"rating" : 20,
|
337
|
+
"type" : "food"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"geometry" : {
|
341
|
+
"location" : {
|
342
|
+
"lat" : 39.6031390,
|
343
|
+
"lng" : -106.5175360
|
344
|
+
}
|
345
|
+
},
|
346
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
347
|
+
"id" : "14463028e8d93195dd5846c6790be8b306b25ac4",
|
348
|
+
"name" : "Foxnut",
|
349
|
+
"opening_hours" : {
|
350
|
+
"open_now" : false
|
351
|
+
},
|
352
|
+
"photos" : [
|
353
|
+
{
|
354
|
+
"height" : 3240,
|
355
|
+
"html_attributions" : [ "From a Google User" ],
|
356
|
+
"photo_reference" : "CoQBcgAAAMsMZxyxcghmrQTJoMpZvf0ut-LwzbPUj7PHmmwSt7UBVUi_vfdcWgMG4K15qb3aqRdCZfcu8ujSo1aOfpH_VYCO0yYtNRPM3-u0eGrt19QKvupzTFx4rvmfq6FEAU6lCeVKf_QCZ30YrnKOllr6h9CVnKTly5ddR4PLfDINpV2EEhCAYZy6smGOjlvCpYsVN-sNGhRgxT0qvRo8PXsgRpx_Eg7lcgMJIg",
|
357
|
+
"width" : 4320
|
358
|
+
}
|
359
|
+
],
|
360
|
+
"price_level" : 2,
|
361
|
+
"rating" : 4.30,
|
362
|
+
"reference" : "CnRkAAAAs0ORUk9EW8eV0Bx6QfXNm4BQEdoZwvKS42CMQxJ-32OMSMGHBongruxHxpCU8mPxZxfBOptz9B5ZuKe8dbeYemt_wrHDY9CmyZEn0NGGDCmq0tPngrdBDFAQ3QWr9FU29vFQozckZZ3S5HZGOUIrkhIQqr4kNBabFAdi6kIjhU0zAxoU-q6tyKKvps_0WyTthZtdUT3iJAw",
|
363
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
364
|
+
"vicinity" : "15 West Thomas Place, Beaker Creek",
|
365
|
+
"zagat_reviewed" : true,
|
366
|
+
"zagat_selected" : true
|
367
|
+
},
|
368
|
+
{
|
369
|
+
"aspects" : [
|
370
|
+
{
|
371
|
+
"rating" : 22,
|
372
|
+
"type" : "food"
|
373
|
+
}
|
374
|
+
],
|
375
|
+
"geometry" : {
|
376
|
+
"location" : {
|
377
|
+
"lat" : 39.6044120,
|
378
|
+
"lng" : -106.5168780
|
379
|
+
}
|
380
|
+
},
|
381
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
382
|
+
"id" : "071f072af166090f81b3ab2bf4391e0fea9a8427",
|
383
|
+
"name" : "The Golden Eagle Inn Restaurant",
|
384
|
+
"opening_hours" : {
|
385
|
+
"open_now" : false
|
386
|
+
},
|
387
|
+
"photos" : [
|
388
|
+
{
|
389
|
+
"height" : 426,
|
390
|
+
"html_attributions" : [],
|
391
|
+
"photo_reference" : "CqQBnAAAAHROPTw1jm-YTQPuCjiLHB6WqYNV7xzNrCXmc8NlN9Bfq2vXZMq6Uq8-MbHd9dDEMXcfgQyWRMx0NQ4Kdhn2BIkoRVOvmZJQ9Rpwl7HgZ-xv2Hbs4zPZOQCvQHiCPc29U3X4c-mU3kXAjwX1jjjqsOm2CisaB9OvzM0MQMWIBbvHQmVgN2RfBOiNeazN9b3qy9b9V6OMpexbhWVdF5tSSR4SEGeSZR_2eOSIES3hrZXvIm4aFG0ZRoExXWB9lvZIlEzIMPXoT-sX",
|
392
|
+
"width" : 491
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"price_level" : 3,
|
396
|
+
"rating" : 4.30,
|
397
|
+
"reference" : "CoQBfgAAAJFe7dQgNE3Qhdrgb3eX_UkQWcf5BU6fbs4lfuD9ql0AI15c-1ERvSe_H0jUzLkxsGKtUMtIjJfM8UkrLvNQvDocTycr5UW0bSRpJXb-0dPv6gnwP_88GKmInWG-mD_Jje-P9lISxRDjvDeht-qCiHLq1xMWLKRekz-MhMbe0IrjEhCkG4lIncXEaVX9cF5GnPp1GhSUhRjFEF9QWubgSu4-E3oY-aV_sA",
|
398
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
399
|
+
"vicinity" : "118 Beaver Creek Plaza, Beaver Creek",
|
400
|
+
"zagat_reviewed" : true,
|
401
|
+
"zagat_selected" : true
|
402
|
+
},
|
403
|
+
{
|
404
|
+
"aspects" : [
|
405
|
+
{
|
406
|
+
"rating" : 25,
|
407
|
+
"type" : "food"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"geometry" : {
|
411
|
+
"location" : {
|
412
|
+
"lat" : 39.6232020,
|
413
|
+
"lng" : -106.5416710
|
414
|
+
}
|
415
|
+
},
|
416
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
417
|
+
"id" : "9926d17ac7ec50dc1438c460c7b35783aac755e2",
|
418
|
+
"name" : "Spago",
|
419
|
+
"reference" : "CnRiAAAACTn9W3smzdlUcVn8F6mObrw12y_4wdFHwoZZEScYgdoEpQOeiOOERVap_WlxR0gLpSq6dZQVBabiS-_1my6ZRTYG88J98vLvWCCVmToeRobJ_uAtnjC-_XRGmgmd7m4Y6ws0ct7-MajFfOysaYrTFxIQxGi8xOUi0KDBEfMWeF7tmBoUi9KaJOraFeGPvNFGJ0ddMXnacSc",
|
420
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
421
|
+
"vicinity" : "130 Daybreak Ridge, Avon, CO 81620, USA, Daybreak Ridge Road",
|
422
|
+
"zagat_reviewed" : true,
|
423
|
+
"zagat_selected" : true
|
424
|
+
},
|
425
|
+
{
|
426
|
+
"aspects" : [
|
427
|
+
{
|
428
|
+
"rating" : 21,
|
429
|
+
"type" : "food"
|
430
|
+
}
|
431
|
+
],
|
432
|
+
"geometry" : {
|
433
|
+
"location" : {
|
434
|
+
"lat" : 39.604820,
|
435
|
+
"lng" : -106.5153910
|
436
|
+
}
|
437
|
+
},
|
438
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png",
|
439
|
+
"id" : "d5713b52ea7efdc3bc24fe0dee68459aa8f067b4",
|
440
|
+
"name" : "8100 Mountainside Bar and Grill",
|
441
|
+
"opening_hours" : {
|
442
|
+
"open_now" : true
|
443
|
+
},
|
444
|
+
"price_level" : 2,
|
445
|
+
"rating" : 4.30,
|
446
|
+
"reference" : "CoQBfQAAAAqAf4Tz_34E-LRZXI09XrwAabpV_IG6ISwyz3bE458GDcTQQL2uyrbo6_21RiNn9NdGBtaFrnmqyeBK0X-ZXuOrc5q1rHOEVp5eIommqZZsSuPvRo6jh1j_SXGkvVH_1Bfrjd3KA0kd31rqBYp9l9pSFBy4gEH9e8kpiq1KPaU_EhBjCFXqBdu_WNcldNeHQOsIGhQoCuQxvKATTIbA4n9BEAt4X6VO5A",
|
447
|
+
"types" : [ "bar", "restaurant", "food", "establishment" ],
|
448
|
+
"vicinity" : "136 East Thomas Place, Avon",
|
449
|
+
"zagat_reviewed" : true,
|
450
|
+
"zagat_selected" : true
|
451
|
+
},
|
452
|
+
{
|
453
|
+
"aspects" : [
|
454
|
+
{
|
455
|
+
"rating" : 29,
|
456
|
+
"type" : "food"
|
457
|
+
}
|
458
|
+
],
|
459
|
+
"geometry" : {
|
460
|
+
"location" : {
|
461
|
+
"lat" : 39.6048720,
|
462
|
+
"lng" : -106.5211950
|
463
|
+
}
|
464
|
+
},
|
465
|
+
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
|
466
|
+
"id" : "c10bf5bb5310e17270dad4230e7b7879fcf827a3",
|
467
|
+
"name" : "Splendido At The Chateau",
|
468
|
+
"opening_hours" : {
|
469
|
+
"open_now" : false
|
470
|
+
},
|
471
|
+
"photos" : [
|
472
|
+
{
|
473
|
+
"height" : 240,
|
474
|
+
"html_attributions" : [],
|
475
|
+
"photo_reference" : "CoQBfwAAAKl0iWzju3x7Yr7rQcrEYfIS3tS8c94Extsukb1Vf9W3lbRNPYJkrDkuLPURQpOKLeTLgDMkhkHBz5Nve57FHUY9k5xu0oaK1Ld0AQhgAbak0xmI0FZnL71Dw_g258XVijnxAbEzLX4K-ojsnH4a2Sj-Q_hahNSSB9zwqr8KdwnfEhBmZ7iaETXpWmACPUidpHarGhSpioZ8RsxC87ZSi1YxckwHkTNF9w",
|
476
|
+
"width" : 360
|
477
|
+
}
|
478
|
+
],
|
479
|
+
"price_level" : 3,
|
480
|
+
"rating" : 4.70,
|
481
|
+
"reference" : "CoQBdgAAAHp2g4wlpG4OsCD4W6Il4czKEAc4DfNT0ItYWDfVj_kVyvqtO5xbUPlUX_-QyaBUSPcRWVhwU0vtAoLqjVkenkwwBda3-TBPjSC-PcwiQ48_nG3o2XwCQwm2no9hMFLfJKNdjuaIMAch4VqvGTqJOnFZpZ8D6JbxuvIT_EgrmbarEhBLenbQbT8QWWheSFz95EAfGhSPGveOSW3k7kY5YcHcVtZ-uIqCuA",
|
482
|
+
"types" : [ "restaurant", "food", "establishment" ],
|
483
|
+
"vicinity" : "17 Chateau Lane, Beaver Creek",
|
484
|
+
"zagat_reviewed" : true,
|
485
|
+
"zagat_selected" : true
|
486
|
+
}
|
487
|
+
],
|
488
|
+
"status" : "OK"
|
489
|
+
}
|
216
490
|
http_version: '1.1'
|
217
491
|
recorded_at: Wed, 13 Mar 2013 13:42:50 GMT
|
218
492
|
- request:
|
@@ -440,4 +714,49 @@ http_interactions:
|
|
440
714
|
Y3RlZCIgOiB0cnVlCiAgIH0sCiAgICJzdGF0dXMiIDogIk9LIgp9Cg==
|
441
715
|
http_version: '1.1'
|
442
716
|
recorded_at: Wed, 13 Mar 2013 13:42:51 GMT
|
443
|
-
|
717
|
+
- request:
|
718
|
+
method: get
|
719
|
+
uri: https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=DUMMY_KEY&keyword=&language=&location=39.60049820,-106.52202606&name=&radius=20000&rankby=&sensor=false&types=restaurant%7Ccafe&zagatselected=true
|
720
|
+
body:
|
721
|
+
encoding: US-ASCII
|
722
|
+
string: ''
|
723
|
+
headers: {}
|
724
|
+
response:
|
725
|
+
status:
|
726
|
+
code: 200
|
727
|
+
message: OK
|
728
|
+
headers:
|
729
|
+
Content-Type:
|
730
|
+
- application/json; charset=UTF-8
|
731
|
+
Date:
|
732
|
+
- Mon, 21 Jul 2014 11:29:00 GMT
|
733
|
+
Pragma:
|
734
|
+
- no-cache
|
735
|
+
Expires:
|
736
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
737
|
+
Cache-Control:
|
738
|
+
- no-cache, must-revalidate
|
739
|
+
Vary:
|
740
|
+
- Accept-Language
|
741
|
+
Server:
|
742
|
+
- mafe
|
743
|
+
X-Xss-Protection:
|
744
|
+
- 1; mode=block
|
745
|
+
X-Frame-Options:
|
746
|
+
- SAMEORIGIN
|
747
|
+
Alternate-Protocol:
|
748
|
+
- 443:quic
|
749
|
+
Transfer-Encoding:
|
750
|
+
- chunked
|
751
|
+
body:
|
752
|
+
encoding: UTF-8
|
753
|
+
string: |
|
754
|
+
{
|
755
|
+
"error_message" : "The provided API key is invalid.",
|
756
|
+
"html_attributions" : [],
|
757
|
+
"results" : [],
|
758
|
+
"status" : "REQUEST_DENIED"
|
759
|
+
}
|
760
|
+
http_version:
|
761
|
+
recorded_at: Mon, 21 Jul 2014 11:29:00 GMT
|
762
|
+
recorded_with: VCR 2.9.2
|