google_places 0.32.0 → 0.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a39d0b451853d926255dd6088759958bec3c408
4
- data.tar.gz: b391a20a4e5521907c06fdbfa3d4499490cb5a9d
3
+ metadata.gz: 3e89cd376d97e4bbadf049864a5df5f98d032630
4
+ data.tar.gz: c5d6c2bb190192b928dc3abab4956615a99d92f0
5
5
  SHA512:
6
- metadata.gz: 93bb03f4b7a521b8269d671cad29ee7a25ae23983b20eddfda2c8f437b60da1bab5e4eedba7ae5630c1c9fe4f2e3c91e74b5a400bc0d34d50943ae78e3ebaa6b
7
- data.tar.gz: 50153480118b7aeb4fc62c0da7941fee1cc7689d2b1f6acf050b49bede3365e9c025ec982d6dcc320b4cd2ca636172bea121fe69c1e040f253c810a958988b01
6
+ metadata.gz: 568369db3f5e9d71a65363c2a806c36cabc94fe55fc5370b6afaede67e3a4d8f4ff1fb24ea81c3dba0ed282ee3f855bed00644a84b4e267e8f67e0e73907d52e
7
+ data.tar.gz: df20278fd0930297bf41446bece309703011177f31181dbbf6109a6cd7e9485f2d892e3fdaf06c770434914e202a0dbe9605f8d7f87016dfaf4872ecb597a692
@@ -2,6 +2,10 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.1.3
5
+ - 2.2.5
6
+ - 2.3.1
5
7
  script: bundle exec rspec
6
8
  before_script: cp spec/api_key.travis.rb spec/api_key.rb
7
9
  after_script: rm spec/api_key.rb
10
+ before_install:
11
+ - gem install bundler -v 1.14.4
@@ -1,44 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- google_places (0.32.0)
5
- httparty (~> 0.13.1)
4
+ google_places (0.33.0)
5
+ httparty (>= 0.13.1, < 0.14.1)
6
6
 
7
7
  GEM
8
8
  remote: http://rubygems.org/
9
9
  specs:
10
- addressable (2.3.6)
11
- crack (0.4.2)
10
+ addressable (2.4.0)
11
+ crack (0.4.3)
12
12
  safe_yaml (~> 1.0.0)
13
- diff-lcs (1.2.5)
14
- httparty (0.13.3)
15
- json (~> 1.8)
13
+ diff-lcs (1.3)
14
+ hashdiff (0.3.2)
15
+ httparty (0.14.0)
16
16
  multi_xml (>= 0.5.2)
17
- json (1.8.2)
18
- multi_xml (0.5.5)
19
- rspec (3.0.0)
20
- rspec-core (~> 3.0.0)
21
- rspec-expectations (~> 3.0.0)
22
- rspec-mocks (~> 3.0.0)
23
- rspec-core (3.0.2)
24
- rspec-support (~> 3.0.0)
25
- rspec-expectations (3.0.2)
17
+ multi_xml (0.6.0)
18
+ rspec (3.5.0)
19
+ rspec-core (~> 3.5.0)
20
+ rspec-expectations (~> 3.5.0)
21
+ rspec-mocks (~> 3.5.0)
22
+ rspec-core (3.5.4)
23
+ rspec-support (~> 3.5.0)
24
+ rspec-expectations (3.5.0)
26
25
  diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.0.0)
28
- rspec-mocks (3.0.2)
29
- rspec-support (~> 3.0.0)
30
- rspec-support (3.0.2)
31
- safe_yaml (1.0.3)
32
- vcr (2.9.2)
33
- webmock (1.18.0)
26
+ rspec-support (~> 3.5.0)
27
+ rspec-mocks (3.5.0)
28
+ diff-lcs (>= 1.2.0, < 2.0)
29
+ rspec-support (~> 3.5.0)
30
+ rspec-support (3.5.0)
31
+ safe_yaml (1.0.4)
32
+ vcr (2.9.3)
33
+ webmock (1.24.6)
34
34
  addressable (>= 2.3.6)
35
35
  crack (>= 0.3.2)
36
+ hashdiff
36
37
 
37
38
  PLATFORMS
38
39
  ruby
39
40
 
40
41
  DEPENDENCIES
42
+ addressable (~> 2.4.0)
41
43
  google_places!
42
- rspec (~> 3.0.0)
43
- vcr (~> 2.9.2)
44
- webmock (~> 1.18.0)
44
+ rspec (~> 3.0)
45
+ vcr (~> 2.9)
46
+ webmock (~> 1.18)
47
+
48
+ BUNDLED WITH
49
+ 1.14.4
@@ -40,6 +40,11 @@ objects has these attributes:
40
40
  * *rating*: the rating of this spot on Google Places
41
41
  * *url*: the url of this spot on Google Places
42
42
 
43
+ However <tt>address_components</tt>, <tt>city</tt>, <tt>country</tt>, <tt>formatted_address</tt>, <tt>region</tt> and <tt>url</tt> are <tt>nil</tt>.
44
+
45
+ * To get these values: You can use <tt>@client.spot(place_id)</tt>. This returns the complete information for the spot by making an extra API call per returned spot.
46
+ * To get a collection of these detailed spots: You can use <tt>@client.spots(lat, lng, detail: true)</tt>. This makes an extra call per each spot and returns a collection of the detailed spots.
47
+
43
48
  === Retrieving a list of spots
44
49
 
45
50
  First register a new Client:
@@ -82,6 +87,10 @@ Get results in specific language:
82
87
 
83
88
  @client.spots(-33.8670522, 151.1957362, :language => 'en')
84
89
 
90
+ Get detailed spots (this makes an extra call for each spot and returns a collection of the detailed spots):
91
+
92
+ @client.spots(-33.8670522, 151.1957362, :detail => true)
93
+
85
94
  === Retrieving spots based on query
86
95
 
87
96
  @client.spots_by_query('Pizza near Miami Florida')
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'google_places'
6
- s.version = '0.32.0'
6
+ s.version = '0.33.0'
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ['Marcel de Graaf']
9
9
  s.email = ['mail@marceldegraaf.net']
@@ -17,8 +17,9 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ['lib']
19
19
 
20
- s.add_dependency 'httparty', '~> 0.13.1'
21
- s.add_development_dependency 'rspec', '~> 3.0.0'
22
- s.add_development_dependency 'webmock', '~> 1.18.0'
23
- s.add_development_dependency 'vcr', '~> 2.9.2'
20
+ s.add_dependency 'httparty', ['>= 0.13.1', '< 0.14.1']
21
+ s.add_development_dependency 'rspec', '~> 3.0'
22
+ s.add_development_dependency 'addressable', '~> 2.4.0'
23
+ s.add_development_dependency 'webmock', '~> 1.18'
24
+ s.add_development_dependency 'vcr', '~> 2.9'
24
25
  end
@@ -65,7 +65,7 @@ module GooglePlaces
65
65
  # the number of check-ins from your application, global popularity, and other factors.
66
66
  # - distance. This option sorts results in ascending order by their distance from the specified location.
67
67
  # Ranking results by distance will set a fixed search radius of 50km.
68
- # One or more of keyword, name, or types is required. distance. This option sorts results in ascending order by their distance from the specified location. Ranking results by distance will set a fixed search radius of 50km. One or more of keyword, name, or types is required.
68
+ # One or more of keyword, name, or types is required.
69
69
  # @option options [String,Array] :types
70
70
  # Restricts the results to Spots matching at least one of the specified types
71
71
  # @option options [String] :name
@@ -86,10 +86,21 @@ module GooglePlaces
86
86
  # @option options [Integer] :retry_options[:max] (0) the maximum retries
87
87
  # @option options [Integer] :retry_options[:delay] (5) the delay between each retry in seconds
88
88
  #
89
+ # @option options [Boolean] :detail
90
+ # A boolean to return spots with full detail information(its complete address, phone number, user rating, reviews, etc)
91
+ # Note) This makes an extra call for each spot for more information.
92
+ #
89
93
  # @see http://spreadsheets.google.com/pub?key=p9pdwsai2hDMsLkXsoM05KQ&gid=1 List of supported languages
90
94
  # @see https://developers.google.com/maps/documentation/places/supported_types List of supported types
91
95
  def spots(lat, lng, options = {})
92
- Spot.list(lat, lng, @api_key, @options.merge(options))
96
+ detail_spot = options.delete(:detail)
97
+ spots = Spot.list(lat, lng, @api_key, @options.merge(options))
98
+
99
+ if detail_spot
100
+ spots.map {|spot| Spot.find(spot.place_id, @api_key, @options.merge(options))}
101
+ else
102
+ spots
103
+ end
93
104
  end
94
105
 
95
106
  # Search for a Spot with a reference key
@@ -1 +1 @@
1
- RSPEC_API_KEY = 'AIzaSyDPVYhZDzHdxRGnqqHZSWccL-BEe-JSYXA'
1
+ RSPEC_API_KEY = 'AIzaSyAKeN0XMV5LqJmqBrZZ1K8qMipFW7-Eybg'
@@ -54,4 +54,23 @@ describe GooglePlaces::Client do
54
54
 
55
55
  @client.predictions_by_input(input)
56
56
  end
57
+
58
+ context 'List detailed spots', vcr: { cassette_name: 'list_spots_with_detail' } do
59
+ it 'should return spots with detail information' do
60
+ lat, lng = '28.3852377', '-81.566068'
61
+ @client = GooglePlaces::Client.new(api_key)
62
+
63
+ spots = @client.spots(lat, lng, detail: true)
64
+ expect(spots).to_not be_nil
65
+
66
+ for spot in spots
67
+ expect(spot.address_components).not_to be_nil
68
+ expect(spot.city).not_to be_nil
69
+ expect(spot.country).not_to be_nil
70
+ expect(spot.formatted_address).not_to be_nil
71
+ expect(spot.region).not_to be_nil
72
+ expect(spot.url).not_to be_nil
73
+ end
74
+ end
75
+ end
57
76
  end
@@ -104,22 +104,22 @@ describe GooglePlaces::Spot do
104
104
  context 'Multiple page request', vcr: { cassette_name: 'multiple_page_request' } do
105
105
 
106
106
  it 'should return >20 results when :multipage_request is true' do
107
- @collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => true)
107
+ @collection = GooglePlaces::Spot.list_by_query('coffee', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => true)
108
108
  expect(@collection.size).to be >= 21
109
109
  end
110
110
 
111
111
  it 'should return at most 20 results when :multipage is false' do
112
- @collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
112
+ @collection = GooglePlaces::Spot.list_by_query('coffee', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
113
113
  expect(@collection.size).to be <= 20
114
114
  end
115
115
 
116
116
  it 'should return at most 20 results when :multipage is not present' do
117
- @collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius)
117
+ @collection = GooglePlaces::Spot.list_by_query('coffee', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius)
118
118
  expect(@collection.size).to be <= 20
119
119
  end
120
120
 
121
121
  it 'should return a pagetoken when there is more than 20 results and :multipage is false' do
122
- @collection = GooglePlaces::Spot.list_by_query('wolfgang', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
122
+ @collection = GooglePlaces::Spot.list_by_query('coffee', api_key, :lat => '40.808235', :lng => '-73.948733', :radius => @radius, :multipage => false)
123
123
  expect(@collection.last.nextpagetoken).to_not be_nil
124
124
  end
125
125
 
@@ -2,250 +2,17 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?
5
+ uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=AIzaSyAKeN0XMV5LqJmqBrZZ1K8qMipFW7-Eybg
6
6
  body:
7
7
  encoding: US-ASCII
8
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
9
  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: {}
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
249
16
  response:
250
17
  status:
251
18
  code: 200
@@ -254,58 +21,68 @@ http_interactions:
254
21
  Content-Type:
255
22
  - application/json; charset=UTF-8
256
23
  Date:
257
- - Tue, 14 Oct 2014 18:48:44 GMT
24
+ - Tue, 07 Feb 2017 16:15:56 GMT
258
25
  Expires:
259
- - Tue, 14 Oct 2014 18:48:44 GMT
26
+ - Tue, 07 Feb 2017 16:15:56 GMT
260
27
  Cache-Control:
261
28
  - private, max-age=300
262
29
  Vary:
263
30
  - Accept-Language
264
31
  Server:
265
- - mafe
32
+ - pablo
266
33
  X-Xss-Protection:
267
34
  - 1; mode=block
268
35
  X-Frame-Options:
269
36
  - SAMEORIGIN
270
- Alternate-Protocol:
271
- - 443:quic,p=0.01
37
+ Alt-Svc:
38
+ - quic=":443"; ma=2592000; v="35,34"
272
39
  Transfer-Encoding:
273
40
  - chunked
274
41
  body:
275
- encoding: UTF-8
42
+ encoding: ASCII-8BIT
276
43
  string: |
277
44
  {
278
45
  "predictions" : [
279
46
  {
280
- "description" : "Queryable Corporation, 5th Street, San Francisco, CA, United States",
281
- "id" : "d6c6617e22aec493f3476b1fb3cf8be56a43ed98",
47
+ "description" : "Query Jr Henry C, Manchester Road, Wheaton, IL, United States",
48
+ "id" : "023a27834f518f2af4cdb9cf37087958cd969ea3",
282
49
  "matched_substrings" : [
283
50
  {
284
51
  "length" : 5,
285
52
  "offset" : 0
286
53
  }
287
54
  ],
288
- "place_id" : "ChIJMW0rboCAhYARJ4wb2742Aog",
289
- "reference" : "CmRSAAAAJrVq9MEffCoF9FbTMzoMyWCoyBPKMHXKYdgKGUIMSHbNGecdDe4FkH3lB7H-amz6Ftq7tlum50Go0oqjdm9rYnIDNWkKzzrt0S1Exw9jHvlHyDac9HbTn0YpzNV2IilUEhA0G9g-427F7IoIdSlFwRMoGhTRECeBBv9AyCTnBUiHCZGY2S6lRw",
55
+ "place_id" : "ChIJ6eYdBKhVDogRIDxU2xTHpqE",
56
+ "reference" : "ClRMAAAAk5zwTqK1YB9M7L8XfKRyJB7C0oh_hy7VJa_LZ6EGqhDexfhuxxFzASnVegoveVcxeIitYmZDqbTZTnwPb9fQiKcap15wJDxDuqVygHjdoX0SEIypCf4Ds5vOh9OzE_6dtbsaFH-l3R6UlXmgExFZfdO1WtUkMl93",
57
+ "structured_formatting" : {
58
+ "main_text" : "Query Jr Henry C",
59
+ "main_text_matched_substrings" : [
60
+ {
61
+ "length" : 5,
62
+ "offset" : 0
63
+ }
64
+ ],
65
+ "secondary_text" : "Manchester Road, Wheaton, IL, United States"
66
+ },
290
67
  "terms" : [
291
68
  {
292
69
  "offset" : 0,
293
- "value" : "Queryable Corporation"
70
+ "value" : "Query Jr Henry C"
294
71
  },
295
72
  {
296
- "offset" : 23,
297
- "value" : "5th Street"
73
+ "offset" : 18,
74
+ "value" : "Manchester Road"
298
75
  },
299
76
  {
300
77
  "offset" : 35,
301
- "value" : "San Francisco"
78
+ "value" : "Wheaton"
302
79
  },
303
80
  {
304
- "offset" : 50,
305
- "value" : "CA"
81
+ "offset" : 44,
82
+ "value" : "IL"
306
83
  },
307
84
  {
308
- "offset" : 54,
85
+ "offset" : 48,
309
86
  "value" : "United States"
310
87
  }
311
88
  ],
@@ -321,7 +98,17 @@ http_interactions:
321
98
  }
322
99
  ],
323
100
  "place_id" : "EixRdWVyeSBTdHJlZXQsIE5ldyBCZWRmb3JkLCBNQSwgVW5pdGVkIFN0YXRlcw",
324
- "reference" : "CjQwAAAAdF_t51rX-1MlTNQjTuTU8VLMsgDNo-tEGLr1DE1jE8cRsvtVy7slv89hQq8Dx3EQEhASm1vRaiecflxCGEqlWBZ1GhSknfzascyavExdhZmwpwT5xutxGQ",
101
+ "reference" : "CjQwAAAAn4jhp-M6Efz7HMgnUzJTxKWiaUVl1WAmWkgCNZtlvfRSZEK29cL1_174bLoyXTTnEhCOLtSno63Cx4nn3NG9tKwOGhRIjZRdEaXwgiaap7QT5JTt7mAIdw",
102
+ "structured_formatting" : {
103
+ "main_text" : "Query Street",
104
+ "main_text_matched_substrings" : [
105
+ {
106
+ "length" : 5,
107
+ "offset" : 0
108
+ }
109
+ ],
110
+ "secondary_text" : "New Bedford, MA, United States"
111
+ },
325
112
  "terms" : [
326
113
  {
327
114
  "offset" : 0,
@@ -343,35 +130,49 @@ http_interactions:
343
130
  "types" : [ "route", "geocode" ]
344
131
  },
345
132
  {
346
- "description" : "Query Ln, Woodbridge, VA, United States",
347
- "id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
133
+ "description" : "Query Insurance Agency Inc, May Mart Drive, Rochelle, IL, United States",
134
+ "id" : "4abf09d82ceabfb0e47f1ca5848447d6b18ef704",
348
135
  "matched_substrings" : [
349
136
  {
350
137
  "length" : 5,
351
138
  "offset" : 0
352
139
  }
353
140
  ],
354
- "place_id" : "EidRdWVyeSBMbiwgV29vZGJyaWRnZSwgVkEsIFVuaXRlZCBTdGF0ZXM",
355
- "reference" : "CjQrAAAAdEzK1ogpk_mBYObZjikmtjUccwBkTEe0LSxSGz3YvdF_6uC80Bop9IsMRRT9cocKEhCTNdY7w46CtaFt_vKJZ9S8GhQsTSrtaRpsSh3gbO98zBtPGwGwZA",
141
+ "place_id" : "ChIJh5XzRpjfCIgRI9JWlbnqpQ8",
142
+ "reference" : "CmRVAAAA6Z4nXiVtRRoy_bAK8i4UgiWoHLzuBTteZxZEsEOS7RAIgLTguxMBfl1iunCkTMYa8tPtS3z-i7NJTGADDTy2Lqbg9FyRU7LarrXIjIgVcEiqWTSAJqV-wT5cymrHEqbkEhCGAV0sEFYUOYHz6SalatPVGhQop1vOWLiGp9SY9ew_6LiC4GuS7A",
143
+ "structured_formatting" : {
144
+ "main_text" : "Query Insurance Agency Inc",
145
+ "main_text_matched_substrings" : [
146
+ {
147
+ "length" : 5,
148
+ "offset" : 0
149
+ }
150
+ ],
151
+ "secondary_text" : "May Mart Drive, Rochelle, IL, United States"
152
+ },
356
153
  "terms" : [
357
154
  {
358
155
  "offset" : 0,
359
- "value" : "Query Ln"
156
+ "value" : "Query Insurance Agency Inc"
157
+ },
158
+ {
159
+ "offset" : 28,
160
+ "value" : "May Mart Drive"
360
161
  },
361
162
  {
362
- "offset" : 10,
363
- "value" : "Woodbridge"
163
+ "offset" : 44,
164
+ "value" : "Rochelle"
364
165
  },
365
166
  {
366
- "offset" : 22,
367
- "value" : "VA"
167
+ "offset" : 54,
168
+ "value" : "IL"
368
169
  },
369
170
  {
370
- "offset" : 26,
171
+ "offset" : 58,
371
172
  "value" : "United States"
372
173
  }
373
174
  ],
374
- "types" : [ "route", "geocode" ]
175
+ "types" : [ "establishment" ]
375
176
  },
376
177
  {
377
178
  "description" : "Query Mill Road, North Potomac, MD, United States",
@@ -383,7 +184,17 @@ http_interactions:
383
184
  }
384
185
  ],
385
186
  "place_id" : "EjFRdWVyeSBNaWxsIFJvYWQsIE5vcnRoIFBvdG9tYWMsIE1ELCBVbml0ZWQgU3RhdGVz",
386
- "reference" : "CkQ1AAAAbXi1_6K2pcAjDPes9MGqf7CZm0MvA1dkLAzLiZDV2A14twY102E99e45kX27TwP3i1PSjhAnvNRCUBJwDceOYBIQNIe3uka_FouLLl1LwDCvPRoUc05dS1wuND3nnz491eN_yj6WpPU",
187
+ "reference" : "CkQ1AAAAMghGzCblh60vH1EXLEMUceBlHB-BkwcbZfB5hXj7pkrl1pjL06RZfxmi8v2sjuM1c3dDVcUKx7uHWTGmrp7kDBIQtFPZ0-whXob0uP975A9rNRoUHz7Ax9RnPORAD12ooxsEkofwAQQ",
188
+ "structured_formatting" : {
189
+ "main_text" : "Query Mill Road",
190
+ "main_text_matched_substrings" : [
191
+ {
192
+ "length" : 5,
193
+ "offset" : 0
194
+ }
195
+ ],
196
+ "secondary_text" : "North Potomac, MD, United States"
197
+ },
387
198
  "terms" : [
388
199
  {
389
200
  "offset" : 0,
@@ -405,634 +216,53 @@ http_interactions:
405
216
  "types" : [ "route", "geocode" ]
406
217
  },
407
218
  {
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",
219
+ "description" : "Query Insurance Agency, Inc., East Blackhawk Drive, Byron, IL, United States",
220
+ "id" : "e4590492d84034b6464505f502765446c9ac5bce",
483
221
  "matched_substrings" : [
484
222
  {
485
223
  "length" : 5,
486
224
  "offset" : 0
487
225
  }
488
226
  ],
489
- "place_id" : "ChIJMW0rboCAhYARJ4wb2742Aog",
490
- "reference" : "CmRSAAAATnLN0U6sgQeZ2f4eXa7ZJegZX_Jo0mQqw3vvdHjlLbb9oN_53c-t4cdwWgs-4ISb5qDay_xU_6CG97KMjBGAvVrB5MoWQxljTww4spQqDlH694z_PiBT6hDpBQ-uTXPyEhD96bUeSqn3nS8jHp9HMz3rGhSV6ggaTEWKyAksAGuH4MB0o3tUaQ",
227
+ "place_id" : "ChIJJVbNptrxCIgRiWmwVkK0IvI",
228
+ "reference" : "CmRbAAAA2jtKQRttS3STPPkP6Oj0WwvTt6vSE8PVWfkME6De15H9efGaxqwFAHwyiuNemRkIqE1UyUsDJYL4qe0gsYIfTPnqE4vOUyt0NSEfSIDzf5EEunzmkgCBvinQ0AIp6MYnEhANvDSWC8lIefG58PzCaYGPGhRr7C-t7vBu9cMp5nmWc5kP6BgJ1A",
229
+ "structured_formatting" : {
230
+ "main_text" : "Query Insurance Agency, Inc.",
231
+ "main_text_matched_substrings" : [
232
+ {
233
+ "length" : 5,
234
+ "offset" : 0
235
+ }
236
+ ],
237
+ "secondary_text" : "East Blackhawk Drive, Byron, IL, United States"
238
+ },
491
239
  "terms" : [
492
240
  {
493
241
  "offset" : 0,
494
- "value" : "Queryable Corporation"
242
+ "value" : "Query Insurance Agency, Inc."
495
243
  },
496
244
  {
497
- "offset" : 23,
498
- "value" : "5th Street"
245
+ "offset" : 30,
246
+ "value" : "East Blackhawk Drive"
499
247
  },
500
248
  {
501
- "offset" : 35,
502
- "value" : "San Francisco"
249
+ "offset" : 52,
250
+ "value" : "Byron"
503
251
  },
504
252
  {
505
- "offset" : 50,
506
- "value" : "CA"
253
+ "offset" : 59,
254
+ "value" : "IL"
507
255
  },
508
256
  {
509
- "offset" : 54,
257
+ "offset" : 63,
510
258
  "value" : "United States"
511
259
  }
512
260
  ],
513
261
  "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
- - request:
846
- method: get
847
- uri: https://maps.googleapis.com/maps/api/place/autocomplete/json?input=query&key=AIzaSyDnfdcHZkxkytfKJTIiLeJgWl3EJxwI6Ro
848
- body:
849
- encoding: US-ASCII
850
- string: ''
851
- headers: {}
852
- response:
853
- status:
854
- code: 200
855
- message: OK
856
- headers:
857
- Content-Type:
858
- - application/json; charset=UTF-8
859
- Date:
860
- - Sat, 01 Nov 2014 22:53:55 GMT
861
- Expires:
862
- - Sat, 01 Nov 2014 22:53:55 GMT
863
- Cache-Control:
864
- - private, max-age=300
865
- Vary:
866
- - Accept-Language
867
- Server:
868
- - mafe
869
- X-Xss-Protection:
870
- - 1; mode=block
871
- X-Frame-Options:
872
- - SAMEORIGIN
873
- Alternate-Protocol:
874
- - 443:quic,p=0.01
875
- Transfer-Encoding:
876
- - chunked
877
- body:
878
- encoding: UTF-8
879
- string: |
880
- {
881
- "predictions" : [
882
- {
883
- "description" : "Query Street, New Bedford, MA, United States",
884
- "id" : "7ec01a04e7ff7a326e0de7e787c5fd03de916371",
885
- "matched_substrings" : [
886
- {
887
- "length" : 5,
888
- "offset" : 0
889
- }
890
- ],
891
- "place_id" : "EixRdWVyeSBTdHJlZXQsIE5ldyBCZWRmb3JkLCBNQSwgVW5pdGVkIFN0YXRlcw",
892
- "reference" : "CjQwAAAAk9x-IZ1GbKZrNtRD4pikIJt3dpGM_m_DoOfoa0vk1WLzBJ_tZt3wLoxOJEWS09h6EhCcxc0hO2cBRWb1QzMKd2iIGhSImKNcNh96cr0YErCm1mSgJt4W8A",
893
- "terms" : [
894
- {
895
- "offset" : 0,
896
- "value" : "Query Street"
897
- },
898
- {
899
- "offset" : 14,
900
- "value" : "New Bedford"
901
- },
902
- {
903
- "offset" : 27,
904
- "value" : "MA"
905
- },
906
- {
907
- "offset" : 31,
908
- "value" : "United States"
909
- }
910
- ],
911
- "types" : [ "route", "geocode" ]
912
- },
913
- {
914
- "description" : "Query Ln, Woodbridge, VA, United States",
915
- "id" : "e4830c290c5dfe6506acca4c25e2c28008f3ca80",
916
- "matched_substrings" : [
917
- {
918
- "length" : 5,
919
- "offset" : 0
920
- }
921
- ],
922
- "place_id" : "EidRdWVyeSBMbiwgV29vZGJyaWRnZSwgVkEsIFVuaXRlZCBTdGF0ZXM",
923
- "reference" : "CjQrAAAAzdzR-7zXg2CnKJMjlFtJxDSgubydlb7pqomUSEwxosdjtX0BwwbT36QlsHdgx5r4EhBV7OnKS3wBhJ5izfGh09FDGhTue4o26dPnhT9y27tGNryuV0wRCw",
924
- "terms" : [
925
- {
926
- "offset" : 0,
927
- "value" : "Query Ln"
928
- },
929
- {
930
- "offset" : 10,
931
- "value" : "Woodbridge"
932
- },
933
- {
934
- "offset" : 22,
935
- "value" : "VA"
936
- },
937
- {
938
- "offset" : 26,
939
- "value" : "United States"
940
- }
941
- ],
942
- "types" : [ "route", "geocode" ]
943
- },
944
- {
945
- "description" : "Query Mill Road, North Potomac, MD, United States",
946
- "id" : "684b9d636594b43a973e1d259ec5d35ee61117d8",
947
- "matched_substrings" : [
948
- {
949
- "length" : 5,
950
- "offset" : 0
951
- }
952
- ],
953
- "place_id" : "EjFRdWVyeSBNaWxsIFJvYWQsIE5vcnRoIFBvdG9tYWMsIE1ELCBVbml0ZWQgU3RhdGVz",
954
- "reference" : "CkQ1AAAAuZloRLctLqk_5pamcERC_lzsNNe93r4Rx6PxcgioidEJTXZrDGwwYb9Yffxb9svU7Q-fFfpUOFbMoHTzosjhIBIQBf34LlFRoa4ge084Ps5QJRoUbaS1_WG8GGLv9BaKdSWa7p8rjBM",
955
- "terms" : [
956
- {
957
- "offset" : 0,
958
- "value" : "Query Mill Road"
959
- },
960
- {
961
- "offset" : 17,
962
- "value" : "North Potomac"
963
- },
964
- {
965
- "offset" : 32,
966
- "value" : "MD"
967
- },
968
- {
969
- "offset" : 36,
970
- "value" : "United States"
971
- }
972
- ],
973
- "types" : [ "route", "geocode" ]
974
- },
975
- {
976
- "description" : "Query Informatica SL, Elx, Spain",
977
- "id" : "0357130b70ae2437136b148adcd3ceb38b6082e6",
978
- "matched_substrings" : [
979
- {
980
- "length" : 5,
981
- "offset" : 0
982
- }
983
- ],
984
- "place_id" : "ChIJQTfY7OW2Yw0RvxQ95TfRT_w",
985
- "reference" : "CjQvAAAApvcoeCX_1iIvh5wSGaBMA-SHiXNdRaxfebYjHzv7XTJ3afltvq0cIYlnoGcZ2G8oEhCOKvIL7RiabLoS0v-rSfuzGhSrGnPW2ul6tqb3emBP2ZL9QApY1w",
986
- "terms" : [
987
- {
988
- "offset" : 0,
989
- "value" : "Query Informatica SL"
990
- },
991
- {
992
- "offset" : 22,
993
- "value" : "Elx"
994
- },
995
- {
996
- "offset" : 27,
997
- "value" : "Spain"
998
- }
999
- ],
1000
- "types" : [ "establishment" ]
1001
- },
1002
- {
1003
- "description" : "Query Road, Hiddenite, NC, United States",
1004
- "id" : "3049e3f7657ee5f16b6cc5dbf53891731ce6dc90",
1005
- "matched_substrings" : [
1006
- {
1007
- "length" : 5,
1008
- "offset" : 0
1009
- }
1010
- ],
1011
- "place_id" : "ChIJzSq3L_NpUYgRB0KicXEjkA4",
1012
- "reference" : "CjQsAAAAxBuOX82EhxNlv5L3JIsLhSBVMkInz1Gwu9-1Bnrw8vWEYXwHba5yBMgk2tmNVnZ7EhD8apMuICCYW2NbQCYLuN8hGhRukyqfs1bjW-oFfIUBZcn36gvvEw",
1013
- "terms" : [
1014
- {
1015
- "offset" : 0,
1016
- "value" : "Query Road"
1017
- },
1018
- {
1019
- "offset" : 12,
1020
- "value" : "Hiddenite"
1021
- },
1022
- {
1023
- "offset" : 23,
1024
- "value" : "NC"
1025
- },
1026
- {
1027
- "offset" : 27,
1028
- "value" : "United States"
1029
- }
1030
- ],
1031
- "types" : [ "route", "geocode" ]
1032
262
  }
1033
263
  ],
1034
264
  "status" : "OK"
1035
265
  }
1036
266
  http_version:
1037
- recorded_at: Sat, 01 Nov 2014 22:53:55 GMT
1038
- recorded_with: VCR 2.9.2
267
+ recorded_at: Tue, 07 Feb 2017 16:15:57 GMT
268
+ recorded_with: VCR 2.9.3