portero 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,358 @@
1
+ {
2
+ "html_attributions" : [],
3
+ "next_page_token" : "ClREAAAAFFcaMW8Hme74nor6fDQq61dJHbyM7Hc-sc0DU6gKq9T6H533_vihFk9gQxjcW8TZ9B36FiivgbnaPLBoWATdStR8Zqgj56mvFugM9sE8PcMSEKsZ45oeGtR8lHTKdO7n2QYaFMXV4s9OO9BNXBhkPjTtUNiwQWXQ",
4
+ "results" : [
5
+ {
6
+ "geometry" : {
7
+ "location" : {
8
+ "lat" : 38.58338620,
9
+ "lng" : -90.4067850
10
+ },
11
+ "viewport" : {
12
+ "northeast" : {
13
+ "lat" : 38.60645210,
14
+ "lng" : -90.39101699999999
15
+ },
16
+ "southwest" : {
17
+ "lat" : 38.5485530,
18
+ "lng" : -90.45381990
19
+ }
20
+ }
21
+ },
22
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png",
23
+ "id" : "ce3f29043a4dd9b104234dd4c468a62bb482f1d6",
24
+ "name" : "Kirkwood",
25
+ "reference" : "CnRvAAAAGsSBaEBOqu62_eDIzwF81cZ4Jx0Hmppm_oR5u2GKetGFKim6UO_HUFmFs43CxDyTeDCzDhZZWlEanK_whgu6_9t1oq1TwLblv7RRI4Skt7Fp-3N-0ZV-3pBbw-IzYnYXu5S8R3n1lcULwKGTMLCZTRIQgI-79soKj4tq73Uu6QeezhoU_UWmtWHgmCtaIwPHPuOjOzhp5So",
26
+ "types" : [ "locality", "political" ],
27
+ "vicinity" : "Kirkwood"
28
+ },
29
+ {
30
+ "geometry" : {
31
+ "location" : {
32
+ "lat" : 38.5821480,
33
+ "lng" : -90.406170
34
+ }
35
+ },
36
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
37
+ "id" : "d5e15c83a543424975a17a7e801f2fc3e2ac9151",
38
+ "name" : "Dewey's Pizza",
39
+ "opening_hours" : {
40
+ "open_now" : false
41
+ },
42
+ "rating" : 4.50,
43
+ "reference" : "CnRrAAAAxHzS8hYtqrTPtPnQAt28pAIwBOPZBQzx4GyY5zNY0O6TUI5LZISzuyDF1XNF80UyP6rh_14kaOEVaKMTxvPRveGRwQEWoiO1jQjg6FUxGJsjxyfDBC_ai9olPnZ4Olx5nvE1mlN059ZxyJA7PfYbchIQryKTXzY1kk4uZBWqZUHFixoUYjMTAeUVH2uOOBgaifjjv1kCQII",
44
+ "types" : [ "restaurant", "food", "establishment" ],
45
+ "vicinity" : "124 N Kirkwood Rd, Kirkwood"
46
+ },
47
+ {
48
+ "geometry" : {
49
+ "location" : {
50
+ "lat" : 38.5859040,
51
+ "lng" : -90.4061580
52
+ }
53
+ },
54
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/shopping-71.png",
55
+ "id" : "82f5de9ae0e27f80b8285983ee3f64935b5b870d",
56
+ "name" : "Alpine Shop",
57
+ "opening_hours" : {
58
+ "open_now" : true
59
+ },
60
+ "rating" : 3.60,
61
+ "reference" : "CnRoAAAA_O7HXMDC1ev5xSwqS6p6rUUXDCLxHVzKEenB9CUnk27Mfy3XFA3dIqeDxUeVF45C-im7NMr8cPXw5ROlmsrS5RLDfImgemjpkzw1-lhOW7cArrdfLaRBraJAg5a7KIKE3Zt5nzfPN8FRVua7yB7YJRIQJMYKkuA58iEGvsKT9yIkthoU9dHn1CUl2XtAwn2Wn8dy86Ns9Ko",
62
+ "types" : [ "shoe_store", "clothing_store", "store", "establishment" ],
63
+ "vicinity" : "440 North Kirkwood Road, Kirkwood"
64
+ },
65
+ {
66
+ "geometry" : {
67
+ "location" : {
68
+ "lat" : 38.5803410,
69
+ "lng" : -90.4058720
70
+ }
71
+ },
72
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
73
+ "id" : "37146d59cd26581b4d0eddd7934d95c44d28a8e0",
74
+ "name" : "Bar Louie",
75
+ "opening_hours" : {
76
+ "open_now" : false
77
+ },
78
+ "rating" : 3.70,
79
+ "reference" : "CnRmAAAADOMLNP4xxcZQ-H18057bqr-72vkxfFyO6gM6EDq8ZqMGhHWrWc3db_ex3-9QThUEFHUi2Z3RdIszyybBF4WFdL7-Nqby75m2HVL7vB89uurCZnLCTg8v28LZrtbkXD-nmWA8MZdhzQITYuTisJVxJhIQoyBb6jPTFO2W_pKkFxx8vBoU8lRIyyq7IrqkOHbuNrDAjIXKoxQ",
80
+ "types" : [ "restaurant", "food", "establishment" ],
81
+ "vicinity" : "110 South Kirkwood Road, Kirkwood"
82
+ },
83
+ {
84
+ "geometry" : {
85
+ "location" : {
86
+ "lat" : 38.5813660,
87
+ "lng" : -90.40673099999999
88
+ }
89
+ },
90
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
91
+ "id" : "d3f46cfea88ab52a695f719f89e0349675ba444a",
92
+ "name" : "The UPS Store",
93
+ "opening_hours" : {
94
+ "open_now" : true
95
+ },
96
+ "reference" : "CnRqAAAA-orB-L7__N_xvKY-_KIGUqKjPVEolFrVhMMp5GlfMKEg7D7mjPgn-1-QWoFz6ZqXiYWPTYeQjP_BU7q0pexasAm_021BX3d0sVaAUP_EAvnYgAXqzcp4Y_QrzariS0FOm1TILCuFnsocRuuJXfQD5BIQi6b7pQpnEAhuMN3Z-7Jf5RoUor8qFUVh2q6fOEfdP2oAoWpDsdw",
97
+ "types" : [ "store", "post_office", "finance", "establishment" ],
98
+ "vicinity" : "101 West Argonne Drive, Kirkwood"
99
+ },
100
+ {
101
+ "geometry" : {
102
+ "location" : {
103
+ "lat" : 38.5850580,
104
+ "lng" : -90.40639400000001
105
+ }
106
+ },
107
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
108
+ "id" : "d693e11561754285f1c282b28219ed53f2ef3e7a",
109
+ "name" : "Global Foods Market",
110
+ "opening_hours" : {
111
+ "open_now" : true
112
+ },
113
+ "rating" : 4.50,
114
+ "reference" : "CnRwAAAAwwb2JDaUlvoeFnYWlCbxu3_-tWn9krrtHOhlpl5i2DNAo3QCfPNLPu34JWwNsQl_vsaPih6REt0wCdDH5IHSpAQ0RyJGb19GsbzoYfWtMQdIkXv2pKTh6q44M9j0Q8kFEtWrm6UguJCPo9EbMD4iahIQgh49UjgUsin7zY09jfEduhoUNzBonnS3spsDxmAPc8hjJDY3XW8",
115
+ "types" : [
116
+ "restaurant",
117
+ "grocery_or_supermarket",
118
+ "food",
119
+ "store",
120
+ "establishment"
121
+ ],
122
+ "vicinity" : "421 North Kirkwood Road, Kirkwood"
123
+ },
124
+ {
125
+ "geometry" : {
126
+ "location" : {
127
+ "lat" : 38.5810640,
128
+ "lng" : -90.4066230
129
+ }
130
+ },
131
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",
132
+ "id" : "29a20637431da5f1fe5d58248f00b776a2fb9b34",
133
+ "name" : "Kirkwood City Train Station",
134
+ "reference" : "CoQBeQAAADCJXwcjRl0UIA_ORapUquOg5_dH45XuZQmy6ClG1EVawBG8BH9S4h-3Fzh8C6_qwNdSnwm4ym0BMZkQgvryplupmdPRJ3hUYioVJERhZGjap91SgmZNn2dKpfcU5oaaG_rGY5EImHPLsatl14wLqG5akZLtmwSgHPnxd5Uh8M1UEhBgdGjtT8mmK6BlegkdKzKeGhSLG9xKxWkNJ5NBtvYX1IutFcrStw",
135
+ "types" : [ "train_station", "establishment" ],
136
+ "vicinity" : "110 West Argonne Drive, Kirkwood"
137
+ },
138
+ {
139
+ "geometry" : {
140
+ "location" : {
141
+ "lat" : 38.5768430,
142
+ "lng" : -90.4080240
143
+ }
144
+ },
145
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
146
+ "id" : "d4c9674f19a5be6c3f999bdb33a9fdcea678a1ca",
147
+ "name" : "Citizen Kane's Steakhouse",
148
+ "opening_hours" : {
149
+ "open_now" : false
150
+ },
151
+ "rating" : 4.80,
152
+ "reference" : "CoQBdgAAAGqAj8W_k3gQH_3JnVrYNZhR3W7qF7YErHFGr7-XGa3bIVb4pLb5z-iIEsmC4RAzSUWR6g-6vLrihqDkXzMW7Et5Gq77fWRizQGH5HGg1buw5vZX_omWo4hBqeU3ipBbW0dS9aVckHzl5qA2oo30UAbth7bBB6G9vW2i4er05jhiEhCghQm4s8AHORRh0-SmtgORGhQJSoBEME_aP3iAGGR88vaZ0xtAFw",
153
+ "types" : [ "restaurant", "food", "establishment" ],
154
+ "vicinity" : "133 West Clinton Place, St. Louis"
155
+ },
156
+ {
157
+ "geometry" : {
158
+ "location" : {
159
+ "lat" : 38.5818830,
160
+ "lng" : -90.4064680
161
+ }
162
+ },
163
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
164
+ "id" : "819948c16006cc76c695589e0bfb52b7030b6f6e",
165
+ "name" : "McArthurs Bakery",
166
+ "opening_hours" : {
167
+ "open_now" : true
168
+ },
169
+ "rating" : 3.20,
170
+ "reference" : "CnRtAAAA1l7oRnaVodN8EOXmpQJsnGOvyRRs1ySB5GGFXnjhNExSqE8ZHLsvvuP4mlY1IlPuOSidoCBgrpHrTwaLFQ0y5Yo5Vlh4cb_hBkhe_7c9it1f8h_5yE358Vk1ODkhbQU6wG1VMNaP16jtREbAzDN0ehIQSCRJ0TozmjSlYgs5UcF88RoUatszPdFIuF37mWcJZRwSpEvssdI",
171
+ "types" : [ "bakery", "store", "restaurant", "food", "establishment" ],
172
+ "vicinity" : "113 North Kirkwood Road, Kirkwood"
173
+ },
174
+ {
175
+ "geometry" : {
176
+ "location" : {
177
+ "lat" : 38.5802070,
178
+ "lng" : -90.4062680
179
+ }
180
+ },
181
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/cafe-71.png",
182
+ "id" : "28bac3c1e2be03b214a2ab01ef7e79c0a92a4b0f",
183
+ "name" : "Kaldi's Coffee House",
184
+ "opening_hours" : {
185
+ "open_now" : true
186
+ },
187
+ "rating" : 4.0,
188
+ "reference" : "CoQBcgAAAFFnkVelam0BdVUoc0a5BXQd704dhS02AEtPAL5d5mXPLEqQw2-PB-l13SBavm6bbbLW7ARgtAHbOCwdKpQfiGlxaVrH5SudO4BpOz0dTUmc_TpvSDXiAeA4o34I7eLYvY9D5K8Yc0APQzWhTfRJv-_UPrBYEg7KbDiyNiyX6RecEhCvsls9bBJ-pGKb27lie40xGhQfV7ba-DIncN8_cLCtCXiCl7lclw",
189
+ "types" : [ "cafe", "food", "establishment" ],
190
+ "vicinity" : "120 South Kirkwood Road, Kirkwood"
191
+ },
192
+ {
193
+ "geometry" : {
194
+ "location" : {
195
+ "lat" : 38.5819950,
196
+ "lng" : -90.40646700000001
197
+ }
198
+ },
199
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/wine-71.png",
200
+ "id" : "1dd37334596e86e90e9ef1f96995576248ccf083",
201
+ "name" : "One 19 North Tapas Wine Bar",
202
+ "opening_hours" : {
203
+ "open_now" : false
204
+ },
205
+ "rating" : 4.80,
206
+ "reference" : "CoQBeQAAAM7LGBAuVJI59D90Nwf7NchRPePtrtAVjNKOlNWAq3NzZYBLe8f76EygYKVuhSZ_AU1gHiOH8tpBlV43G8rZRI4_mMWy7JW0rjBLXaEtx25q3hjYVufArrN2PRW4matKKWoUAQWsIft7okTg9_E73ptgB_ICMP23vkHbIQDle-CGEhARPMHwT3CamnmgJMis5YICGhRVFz-_K1tEBgUqB24e3wp-7tlNmg",
207
+ "types" : [ "liquor_store", "store", "restaurant", "food", "establishment" ],
208
+ "vicinity" : "119 North Kirkwood Road, St. Louis"
209
+ },
210
+ {
211
+ "geometry" : {
212
+ "location" : {
213
+ "lat" : 38.5823820,
214
+ "lng" : -90.4075730
215
+ }
216
+ },
217
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png",
218
+ "id" : "f930b580c3abec1704d9e99bbe79138baec45e8b",
219
+ "name" : "PJ's Tavern In Kirkwood",
220
+ "opening_hours" : {
221
+ "open_now" : false
222
+ },
223
+ "rating" : 3.80,
224
+ "reference" : "CoQBdQAAADN-u0NSHNTEnoVEv5IlfOoIXrV-I9-t6F_9dYNLt8n5QG_WBLO5ZiZW2YOopNB2TtolrOy6pdLmb-t_kkZ2jzWPDlqWVtzU0_OCqRR2CaSOZBbOWPFrnPz8Ucc5lIWXOugjfe-k2-ryrP4t4_HvFN8NT9p2HHev8NIwEHwdo5j6EhDpMW1_Kh89DXiPLHigYeQQGhQsWMVOswNQ14a1Ow-gmrFiS23RhQ",
225
+ "types" : [ "bar", "restaurant", "food", "establishment" ],
226
+ "vicinity" : "123 West Jefferson Avenue, Kirkwood"
227
+ },
228
+ {
229
+ "geometry" : {
230
+ "location" : {
231
+ "lat" : 38.5818790,
232
+ "lng" : -90.4044930
233
+ }
234
+ },
235
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/shopping-71.png",
236
+ "id" : "a020a5f8ca82f5f43d19df9ec3acb9320dc53597",
237
+ "name" : "Kirkwood Public Library",
238
+ "opening_hours" : {
239
+ "open_now" : true
240
+ },
241
+ "reference" : "CoQBdQAAAKMdHI6wD9uwMNJIuXVtbFRZFKI7g8A7ZxAawDkVhLs4wqrYXf1bEN-LBnL-V5P-UrJGzvU1HLA0fxvo2A-PnN_ZHkdQ50ldFNnRiD9PMaemC86C3b7N8xiOlk3X9xh0vIIoIXfZ1WmNElsVsto6Vr11XXlsslBTVQgudw2jWS4VEhAhk-oCqNRjNexOEJO4GWctGhQid0Q1Tbczve1ZnfvV0XTOvt3ZWw",
242
+ "types" : [ "book_store", "store", "library", "establishment" ],
243
+ "vicinity" : "140 East Jefferson Avenue, Kirkwood"
244
+ },
245
+ {
246
+ "geometry" : {
247
+ "location" : {
248
+ "lat" : 38.5831820,
249
+ "lng" : -90.4052410
250
+ }
251
+ },
252
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/worship_general-71.png",
253
+ "id" : "0d5aca72474447cc9cd473f6bd84245a4962c95d",
254
+ "name" : "First Presbyterian-Kirkwood",
255
+ "reference" : "CoQBeAAAAD2uUyQLPrmO6qvSKle4tm8XEjbS-Ek668S6GK_Gdy9CsyNDUHMDEszj6XgZn5aM_F5jPhvXyeiiv2uKS10IfJrvbRYZq_X1tNaYKrJB6vXIUU3DqJTd3dVrWB0oOntcavw6bK5icJpkgm3yyC571lMX5zA9yOzhA_wgj9X6j07cEhCrm9YY2L8VpEKMmip9dPQeGhTtymEzRzI-5kyL5cuD7Gb4PcC8jw",
256
+ "types" : [ "church", "place_of_worship", "establishment" ],
257
+ "vicinity" : "100 East Adams Avenue, Kirkwood"
258
+ },
259
+ {
260
+ "geometry" : {
261
+ "location" : {
262
+ "lat" : 38.5801910,
263
+ "lng" : -90.40707399999999
264
+ }
265
+ },
266
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/civic_building-71.png",
267
+ "id" : "50aa7f6b7fdd2ba4fc3e79d6996f9799289d10f2",
268
+ "name" : "Kirkwood City Hall",
269
+ "reference" : "CnRvAAAAWK2uFvJqCLhBJFprEOoYpJ508RiLVlVx8BoVsW4-_M8W2uUkE6r8zLcvBGpBFeVI_jZdxtmVr_TjuegDzjY3B7_OO-NMncbd9mpp6SAvh13w0vXrDuT5Ot4LBfO_UpXl33UaBdGJCWFbJC6gnUsVyxIQWxlDtm4xB1bHo0uhz4Wj1xoUTsDrBQD2s6aZzQH2RGNl910LgJ8",
270
+ "types" : [ "city_hall", "local_government_office", "establishment" ],
271
+ "vicinity" : "139 South Kirkwood Road, Kirkwood"
272
+ },
273
+ {
274
+ "geometry" : {
275
+ "location" : {
276
+ "lat" : 38.5813390,
277
+ "lng" : -90.4098880
278
+ }
279
+ },
280
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/worship_general-71.png",
281
+ "id" : "195c8fd8abdc98ef054ccb705244ffac0f8195a0",
282
+ "name" : "St Peter Catholic Church",
283
+ "reference" : "CoQBdgAAAMIVwEGsbNjINMNDUbXetdoOV3rnP09_GZpC9k3W8Ryur5wwDsXonuKNe1pk-DkrOlOUZD4kKDaGOQVKEom6hYrgp8X26sqmlwK8-1io9RGMycXGcrjPWwQzRkC_fhNwKuQuNRkMO8wmokqCrD3aK8xNgVp85ZyQJdHidd1kAo5pEhAxN9_I_17_hDJ1JtdAKInFGhScmrNFB3JP5fH8gLobMBd5NCIJHg",
284
+ "types" : [ "church", "place_of_worship", "establishment" ],
285
+ "vicinity" : "243 West Argonne Drive, Kirkwood"
286
+ },
287
+ {
288
+ "geometry" : {
289
+ "location" : {
290
+ "lat" : 38.5762530,
291
+ "lng" : -90.40660200000001
292
+ }
293
+ },
294
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
295
+ "id" : "b7d4dcbaf2618ce5d7e2d6eee9b18eeb21337628",
296
+ "name" : "Café Provencal",
297
+ "opening_hours" : {
298
+ "open_now" : false
299
+ },
300
+ "rating" : 4.20,
301
+ "reference" : "CnRtAAAAsgnZFwFaffkn6rDy05Q7pT9PmH4zGJrXUgJra6dpb8mjGc7lZrbN_lMUkdlnS8IWf2ZuKHnaDSoKHNdWxb0edCJmBY__FOWuXPQIGoU9gkUPsNl7mLGLE97BVAx2_3AbFqHMW61jKOYqhkR_3wBv1BIQI17U-lIi6S-J1vW2FSA9zRoUa-N4xIn33papl_b76he8lmvIT2w",
302
+ "types" : [ "restaurant", "food", "establishment" ],
303
+ "vicinity" : "427 South Kirkwood Road, Kirkwood"
304
+ },
305
+ {
306
+ "geometry" : {
307
+ "location" : {
308
+ "lat" : 38.5832170,
309
+ "lng" : -90.4071620
310
+ }
311
+ },
312
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png",
313
+ "id" : "89d32c8c0d10a0ac520fdb72cd11be318b1bf5f0",
314
+ "name" : "Sunset 44",
315
+ "opening_hours" : {
316
+ "open_now" : false
317
+ },
318
+ "rating" : 4.0,
319
+ "reference" : "CnRnAAAA2NHzReGeRYD55X1I4iOQFm4ZUwzT7FOFzeOhEkPCdKdG4CpVt1JNp5yUbnB1Z455ANsg8OE8JrNeuyesPzmkLjivgVZIVL017BvMWck4NI3x9fd0cgWKLsrD3y99HtmYgHWSmLHZQkz0NSf-u3UCpBIQHtMFOf7bxIfEiHRyMvliChoUym0DmBerD1yhB8OGDJM_Ks1mwTU",
320
+ "types" : [ "bar", "restaurant", "food", "establishment" ],
321
+ "vicinity" : "118 West Adams Avenue, Kirkwood"
322
+ },
323
+ {
324
+ "geometry" : {
325
+ "location" : {
326
+ "lat" : 38.5792770,
327
+ "lng" : -90.4065590
328
+ }
329
+ },
330
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
331
+ "id" : "b2f8d3f55acf81d2f16f9ef55f3e4ddf74421591",
332
+ "name" : "Imo's Pizza",
333
+ "rating" : 3.70,
334
+ "reference" : "CnRoAAAA59UOIWRMRFAQjxgCFwnp5fOnAYR5QZpPnffuXbeuDFvdkANks4kXSnxdGQ7mkG0iN0GLuN7htSz0wElAM8cidolFlVpUgQ20_RzWzZCCmXIHk_5zo-iVqeuzb0P2hkvY_Rm-hyDHa7p-NrDvL1ZUMRIQo939YA31jkIJpwzYfXDS8xoUELmP9J8Wczp6NwDCuBUo6MMTlaw",
335
+ "types" : [ "restaurant", "food", "establishment" ],
336
+ "vicinity" : "215 South Kirkwood Road, Kirkwood"
337
+ },
338
+ {
339
+ "geometry" : {
340
+ "location" : {
341
+ "lat" : 38.5783070,
342
+ "lng" : -90.4059730
343
+ }
344
+ },
345
+ "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/bar-71.png",
346
+ "id" : "e29f06f7bf3d575b1b0b5016919eac124982e1eb",
347
+ "name" : "Culpepper's Grill & Bar",
348
+ "opening_hours" : {
349
+ "open_now" : false
350
+ },
351
+ "rating" : 3.40,
352
+ "reference" : "CoQBdAAAAA5uZ3HGy-1yxWq2p_yEbSXtajeMXnrcrvekYqOedtTPT8Dbf2fNerJ6ELKoaZji8maxSd16-JAD48a3tDYE9JIgXPzBxQ2q_OrWhaYkv0U4yiKbV9TFK-BR7HHv8vXWYYv4NAI361KVKISzg9ds2hvmlieqXoFCodCpupLukiXHEhDt0nEC84UeX1CiEHZE106jGhSWyOiBHAffnPIT4-PPG_H-0n5k8g",
353
+ "types" : [ "bar", "restaurant", "food", "establishment" ],
354
+ "vicinity" : "312 South Kirkwood Road, Kirkwood"
355
+ }
356
+ ],
357
+ "status" : "OK"
358
+ }
@@ -25,6 +25,13 @@ describe Portero::SearchProvider::Foursquare do
25
25
  @results.first.should be_a(Portero::SearchResult)
26
26
  end
27
27
 
28
+ it 'should return an array of SearchResults when not given a query string' do
29
+ @results = @provider.search(@conn, nil, 38.585287, -90.40936, radius: 1000, limit: 50)
30
+ @results.should be_a(Array)
31
+ @results.first.should be_a(Portero::SearchResult)
32
+ @results.first.name.should == "Global Foods Market"
33
+ end
34
+
28
35
  describe 'individual' do
29
36
 
30
37
  it 'should have an id' do
@@ -26,6 +26,14 @@ describe Portero::SearchProvider::GooglePlaces do
26
26
  @results.first.should be_a(Portero::SearchResult)
27
27
  end
28
28
 
29
+ it 'should return an array of SearchResults when not given a query string' do
30
+ @results = @provider.search(@conn, nil, 38.585287, -90.40936, radius: 1000, limit: 50)
31
+ @results.should be_a(Array)
32
+ @results.first.should be_a(Portero::SearchResult)
33
+ @results.first.address.should == "Kirkwood"
34
+ end
35
+
36
+
29
37
  describe 'individual' do
30
38
 
31
39
  it 'should have an id' do
@@ -3,4 +3,6 @@ require 'fakeweb'
3
3
  FakeWeb.allow_net_connect = false
4
4
 
5
5
  FakeWeb.register_uri(:get, "https://api.foursquare.com/v2/venues/search?query=pizza&client_id=1&client_secret=1&limit=50&radius=1000&v=20120709&ll=38.585287%2C-90.40936", body: File.read(File.join(File.dirname(__FILE__), '..', 'data', 'foursquare.json')))
6
- FakeWeb.register_uri(:get, "https://maps.googleapis.com/maps/api/place/textsearch/json?query=pizza&key=1&radius=1000&location=38.585287%2C-90.40936&sensor=false", body: File.read(File.join(File.dirname(__FILE__), '..', 'data', 'google_places.json')))
6
+ FakeWeb.register_uri(:get, "https://api.foursquare.com/v2/venues/search?client_id=1&client_secret=1&limit=50&radius=1000&v=20120709&ll=38.585287%2C-90.40936", body: File.read(File.join(File.dirname(__FILE__), '..', 'data', 'foursquare_without_query.json')))
7
+ FakeWeb.register_uri(:get, "https://maps.googleapis.com/maps/api/place/textsearch/json?query=pizza&key=1&radius=1000&location=38.585287%2C-90.40936&sensor=false", body: File.read(File.join(File.dirname(__FILE__), '..', 'data', 'google_places.json')))
8
+ FakeWeb.register_uri(:get, "https://maps.googleapis.com/maps/api/place/search/json?key=1&radius=1000&location=38.585287%2C-90.40936&sensor=false", body: File.read(File.join(File.dirname(__FILE__), '..', 'data', 'google_places_without_query.json')))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: portero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-24 00:00:00.000000000 Z
12
+ date: 2012-08-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -130,7 +130,9 @@ files:
130
130
  - lib/portero/version.rb
131
131
  - portero.gemspec
132
132
  - spec/data/foursquare.json
133
+ - spec/data/foursquare_without_query.json
133
134
  - spec/data/google_places.json
135
+ - spec/data/google_places_without_query.json
134
136
  - spec/portero_spec.rb
135
137
  - spec/providers/foursquare_spec.rb
136
138
  - spec/providers/google_places_spec.rb
@@ -164,7 +166,9 @@ summary: Portero will help you find venues around a location using as many servi
164
166
  known
165
167
  test_files:
166
168
  - spec/data/foursquare.json
169
+ - spec/data/foursquare_without_query.json
167
170
  - spec/data/google_places.json
171
+ - spec/data/google_places_without_query.json
168
172
  - spec/portero_spec.rb
169
173
  - spec/providers/foursquare_spec.rb
170
174
  - spec/providers/google_places_spec.rb