google_places 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Gemfile.lock +1 -1
- data/README.rdoc +28 -2
- data/google_places.gemspec +1 -1
- data/lib/google_places.rb +1 -1
- data/lib/google_places/client.rb +33 -25
- data/lib/google_places/error.rb +0 -1
- data/lib/google_places/photo.rb +1 -7
- data/lib/google_places/prediction.rb +71 -0
- data/lib/google_places/request.rb +24 -24
- data/lib/google_places/spot.rb +20 -43
- data/spec/google_places/client_spec.rb +10 -5
- data/spec/google_places/location_spec.rb +0 -2
- data/spec/google_places/photo_spec.rb +4 -3
- data/spec/google_places/prediction_spec.rb +58 -0
- data/spec/google_places/request_spec.rb +0 -19
- data/spec/google_places/spot_spec.rb +14 -15
- data/spec/vcr_cassettes/list_predictions.yml +845 -0
- data/spec/vcr_cassettes/list_spots.yml +3364 -44
- data/spec/vcr_cassettes/list_spots_by_radar.yml +1070 -14
- data/spec/vcr_cassettes/list_spots_with_multiple_types.yml +1192 -10
- data/spec/vcr_cassettes/list_spots_with_name.yml +6 -6
- data/spec/vcr_cassettes/list_spots_with_name_and_types.yml +156 -6
- data/spec/vcr_cassettes/list_spots_with_single_type.yml +640 -6
- data/spec/vcr_cassettes/list_spots_with_types_and_exclusion.yml +1194 -10
- data/spec/vcr_cassettes/multiple_page_request.yml +4194 -8
- data/spec/vcr_cassettes/photo.yml +84 -2
- data/spec/vcr_cassettes/premium_list_spots_with_data.yml +3 -3
- data/spec/vcr_cassettes/single_spot.yml +1386 -16
- metadata +7 -2
@@ -6,7 +6,6 @@ describe GooglePlaces::Spot do
|
|
6
6
|
@lat = '-33.8670522'
|
7
7
|
@lng = '151.1957362'
|
8
8
|
@radius = 200
|
9
|
-
@sensor = false
|
10
9
|
@pagetoken = 'CmRVAAAAqKK43TjXKnyEx4-XTWd4bC-iBq88Olspwga_JQbEpznYpfwXYbWBrxmb-1QYD4DMtq8gym5YruCEVjByOlKn8PWKQO5fHvuYD8rWKHUeBvMleM7k3oh9TUG8zqcyuhPmEhCG_C2XuypmkQ20hRvxro4sGhQN3nbWCjgpjyG_E_ayjVIoTGbViw'
|
11
10
|
@place_id = 'ChIJN1t_tDeuEmsRUsoyG83frY4'
|
12
11
|
end
|
@@ -18,12 +17,12 @@ describe GooglePlaces::Spot do
|
|
18
17
|
end
|
19
18
|
|
20
19
|
it 'should be a collection of Spots' do
|
21
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
20
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius)
|
22
21
|
end
|
23
22
|
|
24
23
|
describe 'with a single type', vcr: { cassette_name: 'list_spots_with_single_type' } do
|
25
24
|
before(:each) do
|
26
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
25
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius, :types => 'cafe')
|
27
26
|
end
|
28
27
|
|
29
28
|
it 'should have Spots with a specific type' do
|
@@ -35,7 +34,7 @@ describe GooglePlaces::Spot do
|
|
35
34
|
|
36
35
|
describe 'with multiple types', vcr: { cassette_name: 'list_spots_with_multiple_types' } do
|
37
36
|
before(:each) do
|
38
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
37
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius, :types => ['food','establishment'])
|
39
38
|
end
|
40
39
|
|
41
40
|
it 'should have Spots with specific types' do
|
@@ -48,7 +47,7 @@ describe GooglePlaces::Spot do
|
|
48
47
|
describe 'searching by name and types', vcr: { cassette_name: 'list_spots_with_name_and_types' } do
|
49
48
|
|
50
49
|
before(:each) do
|
51
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
50
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius, :types => ['food','establishment'], :name => 'italian')
|
52
51
|
end
|
53
52
|
|
54
53
|
it 'should have Spots with specific types' do
|
@@ -61,7 +60,7 @@ describe GooglePlaces::Spot do
|
|
61
60
|
describe 'searching by types with exclusion', vcr: { cassette_name: 'list_spots_with_types_and_exclusion' } do
|
62
61
|
|
63
62
|
it 'should exclude spots with type "restaurant"' do
|
64
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
63
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius, :types => ['food','establishment'], :exclude => 'restaurant')
|
65
64
|
|
66
65
|
@collection.map(&:types).each do |types|
|
67
66
|
expect(types).to_not include('restaurant')
|
@@ -69,7 +68,7 @@ describe GooglePlaces::Spot do
|
|
69
68
|
end
|
70
69
|
|
71
70
|
it 'should exclude spots with type "restaurant" and "cafe"' do
|
72
|
-
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key,
|
71
|
+
@collection = GooglePlaces::Spot.list(@lat, @lng, api_key, :radius => @radius, :types => ['food','establishment'], :exclude => ['restaurant', 'cafe'])
|
73
72
|
|
74
73
|
@collection.map(&:types).each do |types|
|
75
74
|
expect(types).to_not include('restaurant')
|
@@ -82,27 +81,27 @@ describe GooglePlaces::Spot do
|
|
82
81
|
context 'Multiple page request', vcr: { cassette_name: 'multiple_page_request' } do
|
83
82
|
|
84
83
|
it 'should return >20 results when :multipage_request is true' do
|
85
|
-
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key,
|
84
|
+
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => true)
|
86
85
|
expect(@collection.size).to be >= 21
|
87
86
|
end
|
88
87
|
|
89
88
|
it 'should return at most 20 results when :multipage is false' do
|
90
|
-
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key,
|
89
|
+
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
|
91
90
|
expect(@collection.size).to be <= 20
|
92
91
|
end
|
93
92
|
|
94
93
|
it 'should return at most 20 results when :multipage is not present' do
|
95
|
-
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key,
|
94
|
+
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius)
|
96
95
|
expect(@collection.size).to be <= 20
|
97
96
|
end
|
98
97
|
|
99
98
|
it 'should return a pagetoken when there is more than 20 results and :multipage is false' do
|
100
|
-
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key,
|
99
|
+
@collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
|
101
100
|
expect(@collection.last.nextpagetoken).to_not be_nil
|
102
101
|
end
|
103
102
|
|
104
103
|
it 'should return some results when :pagetoken is present' do
|
105
|
-
@collection = GooglePlaces::Spot.list_by_pagetoken(@pagetoken, api_key
|
104
|
+
@collection = GooglePlaces::Spot.list_by_pagetoken(@pagetoken, api_key)
|
106
105
|
expect(@collection.size).to be >= 1
|
107
106
|
end
|
108
107
|
|
@@ -115,7 +114,7 @@ describe GooglePlaces::Spot do
|
|
115
114
|
end
|
116
115
|
|
117
116
|
it 'should be a collection of Spots' do
|
118
|
-
@collection = GooglePlaces::Spot.list_by_query('Statue of liberty, New York', api_key
|
117
|
+
@collection = GooglePlaces::Spot.list_by_query('Statue of liberty, New York', api_key)
|
119
118
|
end
|
120
119
|
|
121
120
|
end
|
@@ -127,14 +126,14 @@ describe GooglePlaces::Spot do
|
|
127
126
|
end
|
128
127
|
|
129
128
|
it 'should be a collection of Spots' do
|
130
|
-
@collection = GooglePlaces::Spot.list_by_radar('48.8567', '2.3508', api_key,
|
129
|
+
@collection = GooglePlaces::Spot.list_by_radar('48.8567', '2.3508', api_key, :radius => @radius, :keyword => 'attractions')
|
131
130
|
end
|
132
131
|
|
133
132
|
end
|
134
133
|
|
135
134
|
context 'Find a single spot', vcr: { cassette_name: 'single_spot' } do
|
136
135
|
before :each do
|
137
|
-
@spot = GooglePlaces::Spot.find(@place_id, api_key
|
136
|
+
@spot = GooglePlaces::Spot.find(@place_id, api_key)
|
138
137
|
end
|
139
138
|
it 'should be a Spot' do
|
140
139
|
expect(@spot.class).to eq(GooglePlaces::Spot)
|
@@ -0,0 +1,845 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
content-type:
|
16
|
+
- application/json; charset=UTF-8
|
17
|
+
date:
|
18
|
+
- Fri, 28 Feb 2014 14:24:18 GMT
|
19
|
+
pragma:
|
20
|
+
- no-cache
|
21
|
+
expires:
|
22
|
+
- Fri, 01 Jan 1990 00:00:00 GMT
|
23
|
+
cache-control:
|
24
|
+
- no-cache, must-revalidate
|
25
|
+
vary:
|
26
|
+
- Accept-Language
|
27
|
+
server:
|
28
|
+
- mafe
|
29
|
+
x-xss-protection:
|
30
|
+
- 1; mode=block
|
31
|
+
x-frame-options:
|
32
|
+
- SAMEORIGIN
|
33
|
+
alternate-protocol:
|
34
|
+
- 443:quic
|
35
|
+
connection:
|
36
|
+
- close
|
37
|
+
body:
|
38
|
+
encoding: US-ASCII
|
39
|
+
string: |
|
40
|
+
{
|
41
|
+
"predictions" : [],
|
42
|
+
"status" : "REQUEST_DENIED"
|
43
|
+
}
|
44
|
+
http_version: '1.1'
|
45
|
+
recorded_at: Fri, 28 Feb 2014 14:24:17 GMT
|
46
|
+
- request:
|
47
|
+
method: get
|
48
|
+
uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=abc123
|
49
|
+
body:
|
50
|
+
encoding: US-ASCII
|
51
|
+
string: ''
|
52
|
+
headers: {}
|
53
|
+
response:
|
54
|
+
status:
|
55
|
+
code: 200
|
56
|
+
message: OK
|
57
|
+
headers:
|
58
|
+
content-type:
|
59
|
+
- application/json; charset=UTF-8
|
60
|
+
date:
|
61
|
+
- Fri, 28 Feb 2014 14:28:31 GMT
|
62
|
+
expires:
|
63
|
+
- Fri, 28 Feb 2014 14:28:31 GMT
|
64
|
+
cache-control:
|
65
|
+
- private, max-age=300
|
66
|
+
vary:
|
67
|
+
- Accept-Language
|
68
|
+
server:
|
69
|
+
- mafe
|
70
|
+
x-xss-protection:
|
71
|
+
- 1; mode=block
|
72
|
+
x-frame-options:
|
73
|
+
- SAMEORIGIN
|
74
|
+
alternate-protocol:
|
75
|
+
- 443:quic
|
76
|
+
connection:
|
77
|
+
- close
|
78
|
+
body:
|
79
|
+
encoding: US-ASCII
|
80
|
+
string: |
|
81
|
+
{
|
82
|
+
"predictions" : [
|
83
|
+
{
|
84
|
+
"description" : "Query Tom LPC, Old Roswell Lakes Parkway, Roswell, GA, United States",
|
85
|
+
"id" : "7298c121d5c7078d61ef2615b3bddf48d48deb35",
|
86
|
+
"matched_substrings" : [
|
87
|
+
{
|
88
|
+
"length" : 5,
|
89
|
+
"offset" : 0
|
90
|
+
}
|
91
|
+
],
|
92
|
+
"reference" : "CmRTAAAAY2DWFTLIpwtBGTt94gOr3kd5AjS9KDpwWYyFPYK-feRCCZWuBTkw6X-sKQVYE2YOqNZcbz3raatOaqdfFIoHWsHmbIKo9pgi4zo7hQM88HPtazcQ3nlXlBAmnaqt0N9VEhBrafsrusT0e5bk4kTFxkv2GhSsiuejhMmnTadKBzCqSmo1XK3zGw",
|
93
|
+
"terms" : [
|
94
|
+
{
|
95
|
+
"offset" : 0,
|
96
|
+
"value" : "Query Tom LPC"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"offset" : 15,
|
100
|
+
"value" : "Old Roswell Lakes Parkway"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"offset" : 42,
|
104
|
+
"value" : "Roswell"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"offset" : 51,
|
108
|
+
"value" : "GA"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"offset" : 55,
|
112
|
+
"value" : "United States"
|
113
|
+
}
|
114
|
+
],
|
115
|
+
"types" : [ "establishment" ]
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"description" : "Query Street, New Bedford, MA, United States",
|
119
|
+
"id" : "7ec01a04e7ff7a326e0de7e787c5fd03de916371",
|
120
|
+
"matched_substrings" : [
|
121
|
+
{
|
122
|
+
"length" : 5,
|
123
|
+
"offset" : 0
|
124
|
+
}
|
125
|
+
],
|
126
|
+
"reference" : "CjQwAAAAmxA5br5rwSM9m5lbch9NrRt4vkRzPgbSvpN_7gKVOstGG-MK4XK6eDYtYWmOvCEjEhAEy4XBgPhiXgojlnhh-Tw8GhQQcY2jmE3y-XY6vPhe8k2y3XXt1A",
|
127
|
+
"terms" : [
|
128
|
+
{
|
129
|
+
"offset" : 0,
|
130
|
+
"value" : "Query Street"
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"offset" : 14,
|
134
|
+
"value" : "New Bedford"
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"offset" : 27,
|
138
|
+
"value" : "MA"
|
139
|
+
},
|
140
|
+
{
|
141
|
+
"offset" : 31,
|
142
|
+
"value" : "United States"
|
143
|
+
}
|
144
|
+
],
|
145
|
+
"types" : [ "route", "geocode" ]
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"description" : "Query Mill Road, North Potomac, MD, United States",
|
149
|
+
"id" : "684b9d636594b43a973e1d259ec5d35ee61117d8",
|
150
|
+
"matched_substrings" : [
|
151
|
+
{
|
152
|
+
"length" : 5,
|
153
|
+
"offset" : 0
|
154
|
+
}
|
155
|
+
],
|
156
|
+
"reference" : "CkQ1AAAAHFz1JyliBiYM9pT0QzNmnl5-9atNRH3K-EyD54mtbNELnYEbpDY2zOoXYnlo9LJmovaEWp28lpN4FIuaamGEHBIQ4czNWiOTRLIvM0fzCiPNtxoUy1qRYZxp6lVsjwqEuCdzwtjKFBM",
|
157
|
+
"terms" : [
|
158
|
+
{
|
159
|
+
"offset" : 0,
|
160
|
+
"value" : "Query Mill Road"
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"offset" : 17,
|
164
|
+
"value" : "North Potomac"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"offset" : 32,
|
168
|
+
"value" : "MD"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"offset" : 36,
|
172
|
+
"value" : "United States"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"types" : [ "route", "geocode" ]
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"description" : "Query, Surat, Gujarat, India",
|
179
|
+
"id" : "a276d5603f70845637ba995668bf471ec34ef87b",
|
180
|
+
"matched_substrings" : [
|
181
|
+
{
|
182
|
+
"length" : 5,
|
183
|
+
"offset" : 0
|
184
|
+
}
|
185
|
+
],
|
186
|
+
"reference" : "CjQrAAAAF1ohxL2YvWAt-QMVw1YvG87-u-eRPHUFRbtnCTSX_sG90zhctdMgJOBZen6fxjD7EhBJDdmr5lnms87apQA5AXcKGhQSbHbk4i-3VnQkvSk3xfkJlKMsaA",
|
187
|
+
"terms" : [
|
188
|
+
{
|
189
|
+
"offset" : 0,
|
190
|
+
"value" : "Query"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"offset" : 7,
|
194
|
+
"value" : "Surat"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"offset" : 14,
|
198
|
+
"value" : "Gujarat"
|
199
|
+
},
|
200
|
+
{
|
201
|
+
"offset" : 23,
|
202
|
+
"value" : "India"
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"types" : [ "establishment" ]
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"description" : "Query Ln, Woodbridge, VA, United States",
|
209
|
+
"id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
|
210
|
+
"matched_substrings" : [
|
211
|
+
{
|
212
|
+
"length" : 5,
|
213
|
+
"offset" : 0
|
214
|
+
}
|
215
|
+
],
|
216
|
+
"reference" : "CjQrAAAApysK0GhLziqNjd-QkI3TRzPCmvo2OsIFKHSM60kyyVk6RfSvYV2Kcdsyp1gzUO6WEhCfi2xEfhxUjDJrx2y1TYydGhSFT0h8wHDfhy2cDidU9P3RhzKX1A",
|
217
|
+
"terms" : [
|
218
|
+
{
|
219
|
+
"offset" : 0,
|
220
|
+
"value" : "Query Ln"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"offset" : 10,
|
224
|
+
"value" : "Woodbridge"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"offset" : 22,
|
228
|
+
"value" : "VA"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"offset" : 26,
|
232
|
+
"value" : "United States"
|
233
|
+
}
|
234
|
+
],
|
235
|
+
"types" : [ "route", "geocode" ]
|
236
|
+
}
|
237
|
+
],
|
238
|
+
"status" : "OK"
|
239
|
+
}
|
240
|
+
http_version: '1.1'
|
241
|
+
recorded_at: Fri, 28 Feb 2014 14:28:30 GMT
|
242
|
+
- request:
|
243
|
+
method: get
|
244
|
+
uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=AIzaSyATDpXAyvequDQBzYjHucOXGEn7fXtikVo
|
245
|
+
body:
|
246
|
+
encoding: US-ASCII
|
247
|
+
string: ''
|
248
|
+
headers: {}
|
249
|
+
response:
|
250
|
+
status:
|
251
|
+
code: 200
|
252
|
+
message: OK
|
253
|
+
headers:
|
254
|
+
Content-Type:
|
255
|
+
- application/json; charset=UTF-8
|
256
|
+
Date:
|
257
|
+
- Tue, 14 Oct 2014 18:48:44 GMT
|
258
|
+
Expires:
|
259
|
+
- Tue, 14 Oct 2014 18:48:44 GMT
|
260
|
+
Cache-Control:
|
261
|
+
- private, max-age=300
|
262
|
+
Vary:
|
263
|
+
- Accept-Language
|
264
|
+
Server:
|
265
|
+
- mafe
|
266
|
+
X-Xss-Protection:
|
267
|
+
- 1; mode=block
|
268
|
+
X-Frame-Options:
|
269
|
+
- SAMEORIGIN
|
270
|
+
Alternate-Protocol:
|
271
|
+
- 443:quic,p=0.01
|
272
|
+
Transfer-Encoding:
|
273
|
+
- chunked
|
274
|
+
body:
|
275
|
+
encoding: UTF-8
|
276
|
+
string: |
|
277
|
+
{
|
278
|
+
"predictions" : [
|
279
|
+
{
|
280
|
+
"description" : "Queryable Corporation, 5th Street, San Francisco, CA, United States",
|
281
|
+
"id" : "d6c6617e22aec493f3476b1fb3cf8be56a43ed98",
|
282
|
+
"matched_substrings" : [
|
283
|
+
{
|
284
|
+
"length" : 5,
|
285
|
+
"offset" : 0
|
286
|
+
}
|
287
|
+
],
|
288
|
+
"place_id" : "ChIJMW0rboCAhYARJ4wb2742Aog",
|
289
|
+
"reference" : "CmRSAAAAJrVq9MEffCoF9FbTMzoMyWCoyBPKMHXKYdgKGUIMSHbNGecdDe4FkH3lB7H-amz6Ftq7tlum50Go0oqjdm9rYnIDNWkKzzrt0S1Exw9jHvlHyDac9HbTn0YpzNV2IilUEhA0G9g-427F7IoIdSlFwRMoGhTRECeBBv9AyCTnBUiHCZGY2S6lRw",
|
290
|
+
"terms" : [
|
291
|
+
{
|
292
|
+
"offset" : 0,
|
293
|
+
"value" : "Queryable Corporation"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"offset" : 23,
|
297
|
+
"value" : "5th Street"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"offset" : 35,
|
301
|
+
"value" : "San Francisco"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"offset" : 50,
|
305
|
+
"value" : "CA"
|
306
|
+
},
|
307
|
+
{
|
308
|
+
"offset" : 54,
|
309
|
+
"value" : "United States"
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"types" : [ "establishment" ]
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"description" : "Query Street, New Bedford, MA, United States",
|
316
|
+
"id" : "7ec01a04e7ff7a326e0de7e787c5fd03de916371",
|
317
|
+
"matched_substrings" : [
|
318
|
+
{
|
319
|
+
"length" : 5,
|
320
|
+
"offset" : 0
|
321
|
+
}
|
322
|
+
],
|
323
|
+
"place_id" : "EixRdWVyeSBTdHJlZXQsIE5ldyBCZWRmb3JkLCBNQSwgVW5pdGVkIFN0YXRlcw",
|
324
|
+
"reference" : "CjQwAAAAdF_t51rX-1MlTNQjTuTU8VLMsgDNo-tEGLr1DE1jE8cRsvtVy7slv89hQq8Dx3EQEhASm1vRaiecflxCGEqlWBZ1GhSknfzascyavExdhZmwpwT5xutxGQ",
|
325
|
+
"terms" : [
|
326
|
+
{
|
327
|
+
"offset" : 0,
|
328
|
+
"value" : "Query Street"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"offset" : 14,
|
332
|
+
"value" : "New Bedford"
|
333
|
+
},
|
334
|
+
{
|
335
|
+
"offset" : 27,
|
336
|
+
"value" : "MA"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"offset" : 31,
|
340
|
+
"value" : "United States"
|
341
|
+
}
|
342
|
+
],
|
343
|
+
"types" : [ "route", "geocode" ]
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"description" : "Query Ln, Woodbridge, VA, United States",
|
347
|
+
"id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
|
348
|
+
"matched_substrings" : [
|
349
|
+
{
|
350
|
+
"length" : 5,
|
351
|
+
"offset" : 0
|
352
|
+
}
|
353
|
+
],
|
354
|
+
"place_id" : "EidRdWVyeSBMbiwgV29vZGJyaWRnZSwgVkEsIFVuaXRlZCBTdGF0ZXM",
|
355
|
+
"reference" : "CjQrAAAAdEzK1ogpk_mBYObZjikmtjUccwBkTEe0LSxSGz3YvdF_6uC80Bop9IsMRRT9cocKEhCTNdY7w46CtaFt_vKJZ9S8GhQsTSrtaRpsSh3gbO98zBtPGwGwZA",
|
356
|
+
"terms" : [
|
357
|
+
{
|
358
|
+
"offset" : 0,
|
359
|
+
"value" : "Query Ln"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"offset" : 10,
|
363
|
+
"value" : "Woodbridge"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"offset" : 22,
|
367
|
+
"value" : "VA"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"offset" : 26,
|
371
|
+
"value" : "United States"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"types" : [ "route", "geocode" ]
|
375
|
+
},
|
376
|
+
{
|
377
|
+
"description" : "Query Mill Road, North Potomac, MD, United States",
|
378
|
+
"id" : "684b9d636594b43a973e1d259ec5d35ee61117d8",
|
379
|
+
"matched_substrings" : [
|
380
|
+
{
|
381
|
+
"length" : 5,
|
382
|
+
"offset" : 0
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"place_id" : "EjFRdWVyeSBNaWxsIFJvYWQsIE5vcnRoIFBvdG9tYWMsIE1ELCBVbml0ZWQgU3RhdGVz",
|
386
|
+
"reference" : "CkQ1AAAAbXi1_6K2pcAjDPes9MGqf7CZm0MvA1dkLAzLiZDV2A14twY102E99e45kX27TwP3i1PSjhAnvNRCUBJwDceOYBIQNIe3uka_FouLLl1LwDCvPRoUc05dS1wuND3nnz491eN_yj6WpPU",
|
387
|
+
"terms" : [
|
388
|
+
{
|
389
|
+
"offset" : 0,
|
390
|
+
"value" : "Query Mill Road"
|
391
|
+
},
|
392
|
+
{
|
393
|
+
"offset" : 17,
|
394
|
+
"value" : "North Potomac"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"offset" : 32,
|
398
|
+
"value" : "MD"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"offset" : 36,
|
402
|
+
"value" : "United States"
|
403
|
+
}
|
404
|
+
],
|
405
|
+
"types" : [ "route", "geocode" ]
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"description" : "Query Way, Pittsburgh, PA, United States",
|
409
|
+
"id" : "cb84236549d829cb3ba540bd955ac6d24be823c2",
|
410
|
+
"matched_substrings" : [
|
411
|
+
{
|
412
|
+
"length" : 5,
|
413
|
+
"offset" : 0
|
414
|
+
}
|
415
|
+
],
|
416
|
+
"place_id" : "EihRdWVyeSBXYXksIFBpdHRzYnVyZ2gsIFBBLCBVbml0ZWQgU3RhdGVz",
|
417
|
+
"reference" : "CjQsAAAAwanJHmHsVwQlYTyjwvyB7PJbAqvn2b0qqd_O7AGZwFoM8yd86jlKGpBvmrffkCGgEhAsFqZAr-5fbKBmw1PXews0GhQ4WEpkEp5Lh7Ho4ONfmWpSrU72hQ",
|
418
|
+
"terms" : [
|
419
|
+
{
|
420
|
+
"offset" : 0,
|
421
|
+
"value" : "Query Way"
|
422
|
+
},
|
423
|
+
{
|
424
|
+
"offset" : 11,
|
425
|
+
"value" : "Pittsburgh"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"offset" : 23,
|
429
|
+
"value" : "PA"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"offset" : 27,
|
433
|
+
"value" : "United States"
|
434
|
+
}
|
435
|
+
],
|
436
|
+
"types" : [ "route", "geocode" ]
|
437
|
+
}
|
438
|
+
],
|
439
|
+
"status" : "OK"
|
440
|
+
}
|
441
|
+
http_version:
|
442
|
+
recorded_at: Tue, 14 Oct 2014 18:48:44 GMT
|
443
|
+
- request:
|
444
|
+
method: get
|
445
|
+
uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=AIzaSyCJ0NiNmva8TTlxDoU-BWvxW27zGAichFk
|
446
|
+
body:
|
447
|
+
encoding: US-ASCII
|
448
|
+
string: ''
|
449
|
+
headers: {}
|
450
|
+
response:
|
451
|
+
status:
|
452
|
+
code: 200
|
453
|
+
message: OK
|
454
|
+
headers:
|
455
|
+
Content-Type:
|
456
|
+
- application/json; charset=UTF-8
|
457
|
+
Date:
|
458
|
+
- Tue, 14 Oct 2014 21:08:33 GMT
|
459
|
+
Expires:
|
460
|
+
- Tue, 14 Oct 2014 21:08:33 GMT
|
461
|
+
Cache-Control:
|
462
|
+
- private, max-age=300
|
463
|
+
Vary:
|
464
|
+
- Accept-Language
|
465
|
+
Server:
|
466
|
+
- mafe
|
467
|
+
X-Xss-Protection:
|
468
|
+
- 1; mode=block
|
469
|
+
X-Frame-Options:
|
470
|
+
- SAMEORIGIN
|
471
|
+
Alternate-Protocol:
|
472
|
+
- 443:quic,p=0.01
|
473
|
+
Transfer-Encoding:
|
474
|
+
- chunked
|
475
|
+
body:
|
476
|
+
encoding: UTF-8
|
477
|
+
string: |
|
478
|
+
{
|
479
|
+
"predictions" : [
|
480
|
+
{
|
481
|
+
"description" : "Queryable Corporation, 5th Street, San Francisco, CA, United States",
|
482
|
+
"id" : "d6c6617e22aec493f3476b1fb3cf8be56a43ed98",
|
483
|
+
"matched_substrings" : [
|
484
|
+
{
|
485
|
+
"length" : 5,
|
486
|
+
"offset" : 0
|
487
|
+
}
|
488
|
+
],
|
489
|
+
"place_id" : "ChIJMW0rboCAhYARJ4wb2742Aog",
|
490
|
+
"reference" : "CmRSAAAATnLN0U6sgQeZ2f4eXa7ZJegZX_Jo0mQqw3vvdHjlLbb9oN_53c-t4cdwWgs-4ISb5qDay_xU_6CG97KMjBGAvVrB5MoWQxljTww4spQqDlH694z_PiBT6hDpBQ-uTXPyEhD96bUeSqn3nS8jHp9HMz3rGhSV6ggaTEWKyAksAGuH4MB0o3tUaQ",
|
491
|
+
"terms" : [
|
492
|
+
{
|
493
|
+
"offset" : 0,
|
494
|
+
"value" : "Queryable Corporation"
|
495
|
+
},
|
496
|
+
{
|
497
|
+
"offset" : 23,
|
498
|
+
"value" : "5th Street"
|
499
|
+
},
|
500
|
+
{
|
501
|
+
"offset" : 35,
|
502
|
+
"value" : "San Francisco"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"offset" : 50,
|
506
|
+
"value" : "CA"
|
507
|
+
},
|
508
|
+
{
|
509
|
+
"offset" : 54,
|
510
|
+
"value" : "United States"
|
511
|
+
}
|
512
|
+
],
|
513
|
+
"types" : [ "establishment" ]
|
514
|
+
},
|
515
|
+
{
|
516
|
+
"description" : "Query Street, New Bedford, MA, United States",
|
517
|
+
"id" : "7ec01a04e7ff7a326e0de7e787c5fd03de916371",
|
518
|
+
"matched_substrings" : [
|
519
|
+
{
|
520
|
+
"length" : 5,
|
521
|
+
"offset" : 0
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"place_id" : "EixRdWVyeSBTdHJlZXQsIE5ldyBCZWRmb3JkLCBNQSwgVW5pdGVkIFN0YXRlcw",
|
525
|
+
"reference" : "CjQwAAAAoUwpUOf7iMdBgviJa9oE9hvkQJC6ttW5HWXO8xN92PUktWFtoPlZd8IUn29oOik7EhDKE3RBLuRMgJJDlxVjs-1zGhT45nyebh7SRnKXcQdtH37e9pFZtw",
|
526
|
+
"terms" : [
|
527
|
+
{
|
528
|
+
"offset" : 0,
|
529
|
+
"value" : "Query Street"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"offset" : 14,
|
533
|
+
"value" : "New Bedford"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"offset" : 27,
|
537
|
+
"value" : "MA"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"offset" : 31,
|
541
|
+
"value" : "United States"
|
542
|
+
}
|
543
|
+
],
|
544
|
+
"types" : [ "route", "geocode" ]
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"description" : "Query Ln, Woodbridge, VA, United States",
|
548
|
+
"id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
|
549
|
+
"matched_substrings" : [
|
550
|
+
{
|
551
|
+
"length" : 5,
|
552
|
+
"offset" : 0
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"place_id" : "EidRdWVyeSBMbiwgV29vZGJyaWRnZSwgVkEsIFVuaXRlZCBTdGF0ZXM",
|
556
|
+
"reference" : "CjQrAAAAOF8WtTeKfSERTBxiIdBwr6RZX-RZOc5ahvxow491oySORy4SGJuU1YNadIxIDVpREhB0SJyy9JL1J4fcsRQ8EhZ5GhRd1iRzbPr1qUry8Kx2vH4HOcUGbw",
|
557
|
+
"terms" : [
|
558
|
+
{
|
559
|
+
"offset" : 0,
|
560
|
+
"value" : "Query Ln"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"offset" : 10,
|
564
|
+
"value" : "Woodbridge"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"offset" : 22,
|
568
|
+
"value" : "VA"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"offset" : 26,
|
572
|
+
"value" : "United States"
|
573
|
+
}
|
574
|
+
],
|
575
|
+
"types" : [ "route", "geocode" ]
|
576
|
+
},
|
577
|
+
{
|
578
|
+
"description" : "Query Mill Road, North Potomac, MD, United States",
|
579
|
+
"id" : "684b9d636594b43a973e1d259ec5d35ee61117d8",
|
580
|
+
"matched_substrings" : [
|
581
|
+
{
|
582
|
+
"length" : 5,
|
583
|
+
"offset" : 0
|
584
|
+
}
|
585
|
+
],
|
586
|
+
"place_id" : "EjFRdWVyeSBNaWxsIFJvYWQsIE5vcnRoIFBvdG9tYWMsIE1ELCBVbml0ZWQgU3RhdGVz",
|
587
|
+
"reference" : "CkQ1AAAAPsfqKs3IWkjPKXzLWCFNvaviSeEt99J46UhYSasa_pXMGjvh1LlrVpFF8k-ZybjK1CRDEW9veHiqGr2IGhKQxBIQBxh6eobfZ6jbA5E9EqWwFBoUZFbhMBGADRgj6AmExCB65g6CSWU",
|
588
|
+
"terms" : [
|
589
|
+
{
|
590
|
+
"offset" : 0,
|
591
|
+
"value" : "Query Mill Road"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"offset" : 17,
|
595
|
+
"value" : "North Potomac"
|
596
|
+
},
|
597
|
+
{
|
598
|
+
"offset" : 32,
|
599
|
+
"value" : "MD"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"offset" : 36,
|
603
|
+
"value" : "United States"
|
604
|
+
}
|
605
|
+
],
|
606
|
+
"types" : [ "route", "geocode" ]
|
607
|
+
},
|
608
|
+
{
|
609
|
+
"description" : "Query Way, Pittsburgh, PA, United States",
|
610
|
+
"id" : "cb84236549d829cb3ba540bd955ac6d24be823c2",
|
611
|
+
"matched_substrings" : [
|
612
|
+
{
|
613
|
+
"length" : 5,
|
614
|
+
"offset" : 0
|
615
|
+
}
|
616
|
+
],
|
617
|
+
"place_id" : "EihRdWVyeSBXYXksIFBpdHRzYnVyZ2gsIFBBLCBVbml0ZWQgU3RhdGVz",
|
618
|
+
"reference" : "CjQsAAAAyOTQT2hpa5AW8jjx6oKcYFVv-qnwrW9Dki7PwNS0eSuIjQyC_sfSUdBAio0odYAeEhANEICe8Ps_xb6IP4g4qoLtGhQH_6HXNNruP8gASjTlIDLZfqYTuw",
|
619
|
+
"terms" : [
|
620
|
+
{
|
621
|
+
"offset" : 0,
|
622
|
+
"value" : "Query Way"
|
623
|
+
},
|
624
|
+
{
|
625
|
+
"offset" : 11,
|
626
|
+
"value" : "Pittsburgh"
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"offset" : 23,
|
630
|
+
"value" : "PA"
|
631
|
+
},
|
632
|
+
{
|
633
|
+
"offset" : 27,
|
634
|
+
"value" : "United States"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"types" : [ "route", "geocode" ]
|
638
|
+
}
|
639
|
+
],
|
640
|
+
"status" : "OK"
|
641
|
+
}
|
642
|
+
http_version:
|
643
|
+
recorded_at: Tue, 14 Oct 2014 21:08:33 GMT
|
644
|
+
- request:
|
645
|
+
method: get
|
646
|
+
uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=AIzaSyATGBjcfrRXQtNEMMyt8Fw7tSGEY8PQwv0
|
647
|
+
body:
|
648
|
+
encoding: US-ASCII
|
649
|
+
string: ''
|
650
|
+
headers: {}
|
651
|
+
response:
|
652
|
+
status:
|
653
|
+
code: 200
|
654
|
+
message: OK
|
655
|
+
headers:
|
656
|
+
Content-Type:
|
657
|
+
- application/json; charset=UTF-8
|
658
|
+
Date:
|
659
|
+
- Tue, 14 Oct 2014 22:20:37 GMT
|
660
|
+
Expires:
|
661
|
+
- Tue, 14 Oct 2014 22:20:37 GMT
|
662
|
+
Cache-Control:
|
663
|
+
- private, max-age=300
|
664
|
+
Vary:
|
665
|
+
- Accept-Language
|
666
|
+
Server:
|
667
|
+
- mafe
|
668
|
+
X-Xss-Protection:
|
669
|
+
- 1; mode=block
|
670
|
+
X-Frame-Options:
|
671
|
+
- SAMEORIGIN
|
672
|
+
Alternate-Protocol:
|
673
|
+
- 443:quic,p=0.01
|
674
|
+
Transfer-Encoding:
|
675
|
+
- chunked
|
676
|
+
body:
|
677
|
+
encoding: UTF-8
|
678
|
+
string: |
|
679
|
+
{
|
680
|
+
"predictions" : [
|
681
|
+
{
|
682
|
+
"description" : "Query Street, New Bedford, MA, United States",
|
683
|
+
"id" : "7ec01a04e7ff7a326e0de7e787c5fd03de916371",
|
684
|
+
"matched_substrings" : [
|
685
|
+
{
|
686
|
+
"length" : 5,
|
687
|
+
"offset" : 0
|
688
|
+
}
|
689
|
+
],
|
690
|
+
"place_id" : "EixRdWVyeSBTdHJlZXQsIE5ldyBCZWRmb3JkLCBNQSwgVW5pdGVkIFN0YXRlcw",
|
691
|
+
"reference" : "CjQwAAAAF5Kg81xaMCvrXzlfw3rDMFuk97L3zeOi-Ivtbqt3MiCr3_K1BgKWM2yAs3eBVXT2EhD6n8XOH3v0JbotH7lN7q5fGhTc9gUCi3bhLXsSbEQPpW01VNpwpw",
|
692
|
+
"terms" : [
|
693
|
+
{
|
694
|
+
"offset" : 0,
|
695
|
+
"value" : "Query Street"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"offset" : 14,
|
699
|
+
"value" : "New Bedford"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"offset" : 27,
|
703
|
+
"value" : "MA"
|
704
|
+
},
|
705
|
+
{
|
706
|
+
"offset" : 31,
|
707
|
+
"value" : "United States"
|
708
|
+
}
|
709
|
+
],
|
710
|
+
"types" : [ "route", "geocode" ]
|
711
|
+
},
|
712
|
+
{
|
713
|
+
"description" : "Query Ln, Woodbridge, VA, United States",
|
714
|
+
"id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
|
715
|
+
"matched_substrings" : [
|
716
|
+
{
|
717
|
+
"length" : 5,
|
718
|
+
"offset" : 0
|
719
|
+
}
|
720
|
+
],
|
721
|
+
"place_id" : "EidRdWVyeSBMbiwgV29vZGJyaWRnZSwgVkEsIFVuaXRlZCBTdGF0ZXM",
|
722
|
+
"reference" : "CjQrAAAAEyCiNVNbyFXnpFetL8eCIuOVVJffU1eAHRFsn7aGeSqSMjk9_z15qptiguqhKrKYEhBJIqvxeMfWpuwV6iPMCummGhQrJBORoMOhNaTHkg6JJsZqPC5hcA",
|
723
|
+
"terms" : [
|
724
|
+
{
|
725
|
+
"offset" : 0,
|
726
|
+
"value" : "Query Ln"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"offset" : 10,
|
730
|
+
"value" : "Woodbridge"
|
731
|
+
},
|
732
|
+
{
|
733
|
+
"offset" : 22,
|
734
|
+
"value" : "VA"
|
735
|
+
},
|
736
|
+
{
|
737
|
+
"offset" : 26,
|
738
|
+
"value" : "United States"
|
739
|
+
}
|
740
|
+
],
|
741
|
+
"types" : [ "route", "geocode" ]
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"description" : "Query Mill Road, North Potomac, MD, United States",
|
745
|
+
"id" : "684b9d636594b43a973e1d259ec5d35ee61117d8",
|
746
|
+
"matched_substrings" : [
|
747
|
+
{
|
748
|
+
"length" : 5,
|
749
|
+
"offset" : 0
|
750
|
+
}
|
751
|
+
],
|
752
|
+
"place_id" : "EjFRdWVyeSBNaWxsIFJvYWQsIE5vcnRoIFBvdG9tYWMsIE1ELCBVbml0ZWQgU3RhdGVz",
|
753
|
+
"reference" : "CkQ1AAAAdTk3MLhJalJNhpuXx7rgkQrm6CQABnigX-rGkKoSxhWRr8YCCWINZlGgAj3tbdQ_rRXQ1_URC0yufke-BGTTbBIQo9_98ukUYtjduvZ-aoUAthoU36nUe_iQqRVgWYUZhKvT5N__Qaw",
|
754
|
+
"terms" : [
|
755
|
+
{
|
756
|
+
"offset" : 0,
|
757
|
+
"value" : "Query Mill Road"
|
758
|
+
},
|
759
|
+
{
|
760
|
+
"offset" : 17,
|
761
|
+
"value" : "North Potomac"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"offset" : 32,
|
765
|
+
"value" : "MD"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"offset" : 36,
|
769
|
+
"value" : "United States"
|
770
|
+
}
|
771
|
+
],
|
772
|
+
"types" : [ "route", "geocode" ]
|
773
|
+
},
|
774
|
+
{
|
775
|
+
"description" : "Query Creative, Colonial Drive, New Paltz, NY, United States",
|
776
|
+
"id" : "098bc70569127b5c4032e94ebede1e902c589a30",
|
777
|
+
"matched_substrings" : [
|
778
|
+
{
|
779
|
+
"length" : 5,
|
780
|
+
"offset" : 0
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"place_id" : "ChIJ47dWLoAi3YkRa2id-qqIjfY",
|
784
|
+
"reference" : "ClRLAAAA78ASJtkctSdQ8UgAywhx4zpQwguDHQ7TH30V2TGYqQI0JfMDxpdk7SUiIPqd2f23r2P8tqkmZU3B0M9kdKL_W5ouiKJaJoexXRXVN0twEFESEGtX_kyTfWz_dH22ONMJTy4aFEbiM2uVfD2Ra77ZLM5xt1biR0oz",
|
785
|
+
"terms" : [
|
786
|
+
{
|
787
|
+
"offset" : 0,
|
788
|
+
"value" : "Query Creative"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"offset" : 16,
|
792
|
+
"value" : "Colonial Drive"
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"offset" : 32,
|
796
|
+
"value" : "New Paltz"
|
797
|
+
},
|
798
|
+
{
|
799
|
+
"offset" : 43,
|
800
|
+
"value" : "NY"
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"offset" : 47,
|
804
|
+
"value" : "United States"
|
805
|
+
}
|
806
|
+
],
|
807
|
+
"types" : [ "establishment" ]
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"description" : "Query Way, Pittsburgh, PA, United States",
|
811
|
+
"id" : "cb84236549d829cb3ba540bd955ac6d24be823c2",
|
812
|
+
"matched_substrings" : [
|
813
|
+
{
|
814
|
+
"length" : 5,
|
815
|
+
"offset" : 0
|
816
|
+
}
|
817
|
+
],
|
818
|
+
"place_id" : "EihRdWVyeSBXYXksIFBpdHRzYnVyZ2gsIFBBLCBVbml0ZWQgU3RhdGVz",
|
819
|
+
"reference" : "CjQsAAAAA6sZNPnM1x_4zKWqRNubhkNfWQeBGjqjs1M_oERYtI2zn954k7IFf1t9NE92t8mfEhDWFx7xEANEXth0ZIxeJQN0GhRTqWP0QonwFIcV0V4OVWtYnPTALw",
|
820
|
+
"terms" : [
|
821
|
+
{
|
822
|
+
"offset" : 0,
|
823
|
+
"value" : "Query Way"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"offset" : 11,
|
827
|
+
"value" : "Pittsburgh"
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"offset" : 23,
|
831
|
+
"value" : "PA"
|
832
|
+
},
|
833
|
+
{
|
834
|
+
"offset" : 27,
|
835
|
+
"value" : "United States"
|
836
|
+
}
|
837
|
+
],
|
838
|
+
"types" : [ "route", "geocode" ]
|
839
|
+
}
|
840
|
+
],
|
841
|
+
"status" : "OK"
|
842
|
+
}
|
843
|
+
http_version:
|
844
|
+
recorded_at: Tue, 14 Oct 2014 22:20:37 GMT
|
845
|
+
recorded_with: VCR 2.9.2
|