t 2.2.0 → 2.2.1
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 +7 -0
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +1 -0
- data/bin/t +4 -9
- data/lib/t.rb +7 -7
- data/lib/t/cli.rb +148 -135
- data/lib/t/collectable.rb +1 -1
- data/lib/t/delete.rb +3 -3
- data/lib/t/list.rb +7 -4
- data/lib/t/printable.rb +29 -30
- data/lib/t/search.rb +18 -19
- data/lib/t/set.rb +3 -3
- data/lib/t/stream.rb +2 -2
- data/lib/t/utils.rb +4 -4
- data/lib/t/version.rb +6 -21
- data/spec/cli_spec.rb +257 -182
- data/spec/fixtures/geo.json +414 -0
- data/spec/fixtures/geo_no_city.json +344 -0
- data/spec/fixtures/geo_no_state.json +299 -0
- data/spec/helper.rb +1 -1
- data/spec/list_spec.rb +25 -11
- data/spec/search_spec.rb +107 -107
- data/spec/stream_spec.rb +15 -15
- data/t.gemspec +13 -13
- metadata +65 -82
- metadata.gz.sig +0 -0
- data/spec/fixtures/geo.kml +0 -64
- data/spec/fixtures/geo_no_city.kml +0 -24
- data/spec/fixtures/geo_no_state.kml +0 -16
@@ -0,0 +1,414 @@
|
|
1
|
+
{
|
2
|
+
"results" : [
|
3
|
+
{
|
4
|
+
"address_components" : [
|
5
|
+
{
|
6
|
+
"long_name" : "2158",
|
7
|
+
"short_name" : "2158",
|
8
|
+
"types" : [ "street_number" ]
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"long_name" : "Bryant Street",
|
12
|
+
"short_name" : "Bryant St",
|
13
|
+
"types" : [ "route" ]
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"long_name" : "Mission District",
|
17
|
+
"short_name" : "Mission District",
|
18
|
+
"types" : [ "neighborhood", "political" ]
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"long_name" : "San Francisco",
|
22
|
+
"short_name" : "SF",
|
23
|
+
"types" : [ "locality", "political" ]
|
24
|
+
},
|
25
|
+
{
|
26
|
+
"long_name" : "San Francisco County",
|
27
|
+
"short_name" : "San Francisco County",
|
28
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
29
|
+
},
|
30
|
+
{
|
31
|
+
"long_name" : "California",
|
32
|
+
"short_name" : "CA",
|
33
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"long_name" : "United States",
|
37
|
+
"short_name" : "US",
|
38
|
+
"types" : [ "country", "political" ]
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"long_name" : "94110",
|
42
|
+
"short_name" : "94110",
|
43
|
+
"types" : [ "postal_code" ]
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"formatted_address" : "2158 Bryant Street, San Francisco, CA 94110, USA",
|
47
|
+
"geometry" : {
|
48
|
+
"location" : {
|
49
|
+
"lat" : 37.759658,
|
50
|
+
"lng" : -122.410229
|
51
|
+
},
|
52
|
+
"location_type" : "ROOFTOP",
|
53
|
+
"viewport" : {
|
54
|
+
"northeast" : {
|
55
|
+
"lat" : 37.7610069802915,
|
56
|
+
"lng" : -122.4088800197085
|
57
|
+
},
|
58
|
+
"southwest" : {
|
59
|
+
"lat" : 37.75830901970851,
|
60
|
+
"lng" : -122.4115779802915
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"types" : [ "street_address" ]
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"address_components" : [
|
68
|
+
{
|
69
|
+
"long_name" : "Mission District",
|
70
|
+
"short_name" : "Mission District",
|
71
|
+
"types" : [ "neighborhood", "political" ]
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"long_name" : "San Francisco",
|
75
|
+
"short_name" : "SF",
|
76
|
+
"types" : [ "locality", "political" ]
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"long_name" : "San Francisco County",
|
80
|
+
"short_name" : "San Francisco County",
|
81
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"long_name" : "California",
|
85
|
+
"short_name" : "CA",
|
86
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"long_name" : "United States",
|
90
|
+
"short_name" : "US",
|
91
|
+
"types" : [ "country", "political" ]
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"formatted_address" : "Mission District, San Francisco, CA, USA",
|
95
|
+
"geometry" : {
|
96
|
+
"bounds" : {
|
97
|
+
"northeast" : {
|
98
|
+
"lat" : 37.7719876,
|
99
|
+
"lng" : -122.4027825
|
100
|
+
},
|
101
|
+
"southwest" : {
|
102
|
+
"lat" : 37.7478217,
|
103
|
+
"lng" : -122.4309111
|
104
|
+
}
|
105
|
+
},
|
106
|
+
"location" : {
|
107
|
+
"lat" : 37.7598648,
|
108
|
+
"lng" : -122.4147977
|
109
|
+
},
|
110
|
+
"location_type" : "APPROXIMATE",
|
111
|
+
"viewport" : {
|
112
|
+
"northeast" : {
|
113
|
+
"lat" : 37.7719876,
|
114
|
+
"lng" : -122.4027825
|
115
|
+
},
|
116
|
+
"southwest" : {
|
117
|
+
"lat" : 37.7478217,
|
118
|
+
"lng" : -122.4309111
|
119
|
+
}
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"types" : [ "neighborhood", "political" ]
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"address_components" : [
|
126
|
+
{
|
127
|
+
"long_name" : "94110",
|
128
|
+
"short_name" : "94110",
|
129
|
+
"types" : [ "postal_code" ]
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"long_name" : "San Francisco",
|
133
|
+
"short_name" : "SF",
|
134
|
+
"types" : [ "locality", "political" ]
|
135
|
+
},
|
136
|
+
{
|
137
|
+
"long_name" : "San Francisco County",
|
138
|
+
"short_name" : "San Francisco County",
|
139
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"long_name" : "California",
|
143
|
+
"short_name" : "CA",
|
144
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"long_name" : "United States",
|
148
|
+
"short_name" : "US",
|
149
|
+
"types" : [ "country", "political" ]
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"formatted_address" : "San Francisco, CA 94110, USA",
|
153
|
+
"geometry" : {
|
154
|
+
"bounds" : {
|
155
|
+
"northeast" : {
|
156
|
+
"lat" : 37.76578300000001,
|
157
|
+
"lng" : -122.402855
|
158
|
+
},
|
159
|
+
"southwest" : {
|
160
|
+
"lat" : 37.731608,
|
161
|
+
"lng" : -122.427269
|
162
|
+
}
|
163
|
+
},
|
164
|
+
"location" : {
|
165
|
+
"lat" : 37.7485824,
|
166
|
+
"lng" : -122.4184108
|
167
|
+
},
|
168
|
+
"location_type" : "APPROXIMATE",
|
169
|
+
"viewport" : {
|
170
|
+
"northeast" : {
|
171
|
+
"lat" : 37.76578300000001,
|
172
|
+
"lng" : -122.402855
|
173
|
+
},
|
174
|
+
"southwest" : {
|
175
|
+
"lat" : 37.731608,
|
176
|
+
"lng" : -122.427269
|
177
|
+
}
|
178
|
+
}
|
179
|
+
},
|
180
|
+
"types" : [ "postal_code" ]
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"address_components" : [
|
184
|
+
{
|
185
|
+
"long_name" : "San Francisco",
|
186
|
+
"short_name" : "SF",
|
187
|
+
"types" : [ "locality", "political" ]
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"long_name" : "San Francisco County",
|
191
|
+
"short_name" : "San Francisco County",
|
192
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
193
|
+
},
|
194
|
+
{
|
195
|
+
"long_name" : "California",
|
196
|
+
"short_name" : "CA",
|
197
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
198
|
+
},
|
199
|
+
{
|
200
|
+
"long_name" : "United States",
|
201
|
+
"short_name" : "US",
|
202
|
+
"types" : [ "country", "political" ]
|
203
|
+
}
|
204
|
+
],
|
205
|
+
"formatted_address" : "San Francisco, CA, USA",
|
206
|
+
"geometry" : {
|
207
|
+
"bounds" : {
|
208
|
+
"northeast" : {
|
209
|
+
"lat" : 37.9297707,
|
210
|
+
"lng" : -122.3279148
|
211
|
+
},
|
212
|
+
"southwest" : {
|
213
|
+
"lat" : 37.6933354,
|
214
|
+
"lng" : -123.1077733
|
215
|
+
}
|
216
|
+
},
|
217
|
+
"location" : {
|
218
|
+
"lat" : 37.7749295,
|
219
|
+
"lng" : -122.4194155
|
220
|
+
},
|
221
|
+
"location_type" : "APPROXIMATE",
|
222
|
+
"viewport" : {
|
223
|
+
"northeast" : {
|
224
|
+
"lat" : 37.812,
|
225
|
+
"lng" : -122.3482
|
226
|
+
},
|
227
|
+
"southwest" : {
|
228
|
+
"lat" : 37.70339999999999,
|
229
|
+
"lng" : -122.527
|
230
|
+
}
|
231
|
+
}
|
232
|
+
},
|
233
|
+
"types" : [ "locality", "political" ]
|
234
|
+
},
|
235
|
+
{
|
236
|
+
"address_components" : [
|
237
|
+
{
|
238
|
+
"long_name" : "San Francisco County",
|
239
|
+
"short_name" : "San Francisco County",
|
240
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"long_name" : "California",
|
244
|
+
"short_name" : "CA",
|
245
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
246
|
+
},
|
247
|
+
{
|
248
|
+
"long_name" : "United States",
|
249
|
+
"short_name" : "US",
|
250
|
+
"types" : [ "country", "political" ]
|
251
|
+
}
|
252
|
+
],
|
253
|
+
"formatted_address" : "San Francisco County, CA, USA",
|
254
|
+
"geometry" : {
|
255
|
+
"bounds" : {
|
256
|
+
"northeast" : {
|
257
|
+
"lat" : 37.9297707,
|
258
|
+
"lng" : -122.3279148
|
259
|
+
},
|
260
|
+
"southwest" : {
|
261
|
+
"lat" : 37.6933354,
|
262
|
+
"lng" : -123.1077733
|
263
|
+
}
|
264
|
+
},
|
265
|
+
"location" : {
|
266
|
+
"lat" : 37.7749073,
|
267
|
+
"lng" : -122.4193878
|
268
|
+
},
|
269
|
+
"location_type" : "APPROXIMATE",
|
270
|
+
"viewport" : {
|
271
|
+
"northeast" : {
|
272
|
+
"lat" : 37.833827,
|
273
|
+
"lng" : -122.3551997
|
274
|
+
},
|
275
|
+
"southwest" : {
|
276
|
+
"lat" : 37.708086,
|
277
|
+
"lng" : -122.5300999
|
278
|
+
}
|
279
|
+
}
|
280
|
+
},
|
281
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"address_components" : [
|
285
|
+
{
|
286
|
+
"long_name" : "サン・フランシスコ=オークランド=フリモント",
|
287
|
+
"short_name" : "サン・フランシスコ=オークランド=フリモント",
|
288
|
+
"types" : [ "political" ]
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"long_name" : "California",
|
292
|
+
"short_name" : "CA",
|
293
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"long_name" : "United States",
|
297
|
+
"short_name" : "US",
|
298
|
+
"types" : [ "country", "political" ]
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"formatted_address" : "United States, California, サン・フランシスコ=オークランド=フリモント",
|
302
|
+
"geometry" : {
|
303
|
+
"bounds" : {
|
304
|
+
"northeast" : {
|
305
|
+
"lat" : 38.320945,
|
306
|
+
"lng" : -121.469275
|
307
|
+
},
|
308
|
+
"southwest" : {
|
309
|
+
"lat" : 37.1073458,
|
310
|
+
"lng" : -123.024066
|
311
|
+
}
|
312
|
+
},
|
313
|
+
"location" : {
|
314
|
+
"lat" : 37.8043507,
|
315
|
+
"lng" : -121.8107079
|
316
|
+
},
|
317
|
+
"location_type" : "APPROXIMATE",
|
318
|
+
"viewport" : {
|
319
|
+
"northeast" : {
|
320
|
+
"lat" : 38.320945,
|
321
|
+
"lng" : -121.469275
|
322
|
+
},
|
323
|
+
"southwest" : {
|
324
|
+
"lat" : 37.1073458,
|
325
|
+
"lng" : -123.024066
|
326
|
+
}
|
327
|
+
}
|
328
|
+
},
|
329
|
+
"types" : [ "political" ]
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"address_components" : [
|
333
|
+
{
|
334
|
+
"long_name" : "California",
|
335
|
+
"short_name" : "CA",
|
336
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"long_name" : "United States",
|
340
|
+
"short_name" : "US",
|
341
|
+
"types" : [ "country", "political" ]
|
342
|
+
}
|
343
|
+
],
|
344
|
+
"formatted_address" : "California, USA",
|
345
|
+
"geometry" : {
|
346
|
+
"bounds" : {
|
347
|
+
"northeast" : {
|
348
|
+
"lat" : 42.0095169,
|
349
|
+
"lng" : -114.131211
|
350
|
+
},
|
351
|
+
"southwest" : {
|
352
|
+
"lat" : 32.5342321,
|
353
|
+
"lng" : -124.4096195
|
354
|
+
}
|
355
|
+
},
|
356
|
+
"location" : {
|
357
|
+
"lat" : 36.778261,
|
358
|
+
"lng" : -119.4179324
|
359
|
+
},
|
360
|
+
"location_type" : "APPROXIMATE",
|
361
|
+
"viewport" : {
|
362
|
+
"northeast" : {
|
363
|
+
"lat" : 42.0095169,
|
364
|
+
"lng" : -114.131211
|
365
|
+
},
|
366
|
+
"southwest" : {
|
367
|
+
"lat" : 32.5342321,
|
368
|
+
"lng" : -124.4096195
|
369
|
+
}
|
370
|
+
}
|
371
|
+
},
|
372
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"address_components" : [
|
376
|
+
{
|
377
|
+
"long_name" : "United States",
|
378
|
+
"short_name" : "US",
|
379
|
+
"types" : [ "country", "political" ]
|
380
|
+
}
|
381
|
+
],
|
382
|
+
"formatted_address" : "United States",
|
383
|
+
"geometry" : {
|
384
|
+
"bounds" : {
|
385
|
+
"northeast" : {
|
386
|
+
"lat" : 90,
|
387
|
+
"lng" : 180
|
388
|
+
},
|
389
|
+
"southwest" : {
|
390
|
+
"lat" : -90,
|
391
|
+
"lng" : -180
|
392
|
+
}
|
393
|
+
},
|
394
|
+
"location" : {
|
395
|
+
"lat" : 37.09024,
|
396
|
+
"lng" : -95.712891
|
397
|
+
},
|
398
|
+
"location_type" : "APPROXIMATE",
|
399
|
+
"viewport" : {
|
400
|
+
"northeast" : {
|
401
|
+
"lat" : 49.38,
|
402
|
+
"lng" : -66.94
|
403
|
+
},
|
404
|
+
"southwest" : {
|
405
|
+
"lat" : 25.82,
|
406
|
+
"lng" : -124.39
|
407
|
+
}
|
408
|
+
}
|
409
|
+
},
|
410
|
+
"types" : [ "country", "political" ]
|
411
|
+
}
|
412
|
+
],
|
413
|
+
"status" : "OK"
|
414
|
+
}
|
@@ -0,0 +1,344 @@
|
|
1
|
+
{
|
2
|
+
"results" : [
|
3
|
+
{
|
4
|
+
"address_components" : [
|
5
|
+
{
|
6
|
+
"long_name" : "California",
|
7
|
+
"short_name" : "CA",
|
8
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"long_name" : "United States",
|
12
|
+
"short_name" : "US",
|
13
|
+
"types" : [ "country", "political" ]
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"long_name" : "94110",
|
17
|
+
"short_name" : "94110",
|
18
|
+
"types" : [ "postal_code" ]
|
19
|
+
}
|
20
|
+
],
|
21
|
+
"formatted_address" : "CA, USA",
|
22
|
+
"geometry" : {
|
23
|
+
"location" : {
|
24
|
+
"lat" : 37.759658,
|
25
|
+
"lng" : -122.410229
|
26
|
+
},
|
27
|
+
"location_type" : "ROOFTOP",
|
28
|
+
"viewport" : {
|
29
|
+
"northeast" : {
|
30
|
+
"lat" : 37.7610069802915,
|
31
|
+
"lng" : -122.4088800197085
|
32
|
+
},
|
33
|
+
"southwest" : {
|
34
|
+
"lat" : 37.75830901970851,
|
35
|
+
"lng" : -122.4115779802915
|
36
|
+
}
|
37
|
+
}
|
38
|
+
},
|
39
|
+
"types" : [ "street_address" ]
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"address_components" : [
|
43
|
+
{
|
44
|
+
"long_name" : "California",
|
45
|
+
"short_name" : "CA",
|
46
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"long_name" : "United States",
|
50
|
+
"short_name" : "US",
|
51
|
+
"types" : [ "country", "political" ]
|
52
|
+
}
|
53
|
+
],
|
54
|
+
"formatted_address" : "CA, USA",
|
55
|
+
"geometry" : {
|
56
|
+
"bounds" : {
|
57
|
+
"northeast" : {
|
58
|
+
"lat" : 37.7719876,
|
59
|
+
"lng" : -122.4027825
|
60
|
+
},
|
61
|
+
"southwest" : {
|
62
|
+
"lat" : 37.7478217,
|
63
|
+
"lng" : -122.4309111
|
64
|
+
}
|
65
|
+
},
|
66
|
+
"location" : {
|
67
|
+
"lat" : 37.7598648,
|
68
|
+
"lng" : -122.4147977
|
69
|
+
},
|
70
|
+
"location_type" : "APPROXIMATE",
|
71
|
+
"viewport" : {
|
72
|
+
"northeast" : {
|
73
|
+
"lat" : 37.7719876,
|
74
|
+
"lng" : -122.4027825
|
75
|
+
},
|
76
|
+
"southwest" : {
|
77
|
+
"lat" : 37.7478217,
|
78
|
+
"lng" : -122.4309111
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
"types" : [ "neighborhood", "political" ]
|
83
|
+
},
|
84
|
+
{
|
85
|
+
"address_components" : [
|
86
|
+
{
|
87
|
+
"long_name" : "California",
|
88
|
+
"short_name" : "CA",
|
89
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"long_name" : "United States",
|
93
|
+
"short_name" : "US",
|
94
|
+
"types" : [ "country", "political" ]
|
95
|
+
}
|
96
|
+
],
|
97
|
+
"formatted_address" : "CA 94110, USA",
|
98
|
+
"geometry" : {
|
99
|
+
"bounds" : {
|
100
|
+
"northeast" : {
|
101
|
+
"lat" : 37.76578300000001,
|
102
|
+
"lng" : -122.402855
|
103
|
+
},
|
104
|
+
"southwest" : {
|
105
|
+
"lat" : 37.731608,
|
106
|
+
"lng" : -122.427269
|
107
|
+
}
|
108
|
+
},
|
109
|
+
"location" : {
|
110
|
+
"lat" : 37.7485824,
|
111
|
+
"lng" : -122.4184108
|
112
|
+
},
|
113
|
+
"location_type" : "APPROXIMATE",
|
114
|
+
"viewport" : {
|
115
|
+
"northeast" : {
|
116
|
+
"lat" : 37.76578300000001,
|
117
|
+
"lng" : -122.402855
|
118
|
+
},
|
119
|
+
"southwest" : {
|
120
|
+
"lat" : 37.731608,
|
121
|
+
"lng" : -122.427269
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"types" : [ "postal_code" ]
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"address_components" : [
|
129
|
+
{
|
130
|
+
"long_name" : "California",
|
131
|
+
"short_name" : "CA",
|
132
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"long_name" : "United States",
|
136
|
+
"short_name" : "US",
|
137
|
+
"types" : [ "country", "political" ]
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"formatted_address" : "CA, USA",
|
141
|
+
"geometry" : {
|
142
|
+
"bounds" : {
|
143
|
+
"northeast" : {
|
144
|
+
"lat" : 37.9297707,
|
145
|
+
"lng" : -122.3279148
|
146
|
+
},
|
147
|
+
"southwest" : {
|
148
|
+
"lat" : 37.6933354,
|
149
|
+
"lng" : -123.1077733
|
150
|
+
}
|
151
|
+
},
|
152
|
+
"location" : {
|
153
|
+
"lat" : 37.7749295,
|
154
|
+
"lng" : -122.4194155
|
155
|
+
},
|
156
|
+
"location_type" : "APPROXIMATE",
|
157
|
+
"viewport" : {
|
158
|
+
"northeast" : {
|
159
|
+
"lat" : 37.812,
|
160
|
+
"lng" : -122.3482
|
161
|
+
},
|
162
|
+
"southwest" : {
|
163
|
+
"lat" : 37.70339999999999,
|
164
|
+
"lng" : -122.527
|
165
|
+
}
|
166
|
+
}
|
167
|
+
},
|
168
|
+
"types" : [ "locality", "political" ]
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"address_components" : [
|
172
|
+
{
|
173
|
+
"long_name" : "California",
|
174
|
+
"short_name" : "CA",
|
175
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"long_name" : "United States",
|
179
|
+
"short_name" : "US",
|
180
|
+
"types" : [ "country", "political" ]
|
181
|
+
}
|
182
|
+
],
|
183
|
+
"formatted_address" : "CA, USA",
|
184
|
+
"geometry" : {
|
185
|
+
"bounds" : {
|
186
|
+
"northeast" : {
|
187
|
+
"lat" : 37.9297707,
|
188
|
+
"lng" : -122.3279148
|
189
|
+
},
|
190
|
+
"southwest" : {
|
191
|
+
"lat" : 37.6933354,
|
192
|
+
"lng" : -123.1077733
|
193
|
+
}
|
194
|
+
},
|
195
|
+
"location" : {
|
196
|
+
"lat" : 37.7749073,
|
197
|
+
"lng" : -122.4193878
|
198
|
+
},
|
199
|
+
"location_type" : "APPROXIMATE",
|
200
|
+
"viewport" : {
|
201
|
+
"northeast" : {
|
202
|
+
"lat" : 37.833827,
|
203
|
+
"lng" : -122.3551997
|
204
|
+
},
|
205
|
+
"southwest" : {
|
206
|
+
"lat" : 37.708086,
|
207
|
+
"lng" : -122.5300999
|
208
|
+
}
|
209
|
+
}
|
210
|
+
},
|
211
|
+
"types" : [ "administrative_area_level_2", "political" ]
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"address_components" : [
|
215
|
+
{
|
216
|
+
"long_name" : "サン・フランシスコ=オークランド=フリモント",
|
217
|
+
"short_name" : "サン・フランシスコ=オークランド=フリモント",
|
218
|
+
"types" : [ "political" ]
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"long_name" : "California",
|
222
|
+
"short_name" : "CA",
|
223
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"long_name" : "United States",
|
227
|
+
"short_name" : "US",
|
228
|
+
"types" : [ "country", "political" ]
|
229
|
+
}
|
230
|
+
],
|
231
|
+
"formatted_address" : "United States, California, サン・フランシスコ=オークランド=フリモント",
|
232
|
+
"geometry" : {
|
233
|
+
"bounds" : {
|
234
|
+
"northeast" : {
|
235
|
+
"lat" : 38.320945,
|
236
|
+
"lng" : -121.469275
|
237
|
+
},
|
238
|
+
"southwest" : {
|
239
|
+
"lat" : 37.1073458,
|
240
|
+
"lng" : -123.024066
|
241
|
+
}
|
242
|
+
},
|
243
|
+
"location" : {
|
244
|
+
"lat" : 37.8043507,
|
245
|
+
"lng" : -121.8107079
|
246
|
+
},
|
247
|
+
"location_type" : "APPROXIMATE",
|
248
|
+
"viewport" : {
|
249
|
+
"northeast" : {
|
250
|
+
"lat" : 38.320945,
|
251
|
+
"lng" : -121.469275
|
252
|
+
},
|
253
|
+
"southwest" : {
|
254
|
+
"lat" : 37.1073458,
|
255
|
+
"lng" : -123.024066
|
256
|
+
}
|
257
|
+
}
|
258
|
+
},
|
259
|
+
"types" : [ "political" ]
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"address_components" : [
|
263
|
+
{
|
264
|
+
"long_name" : "California",
|
265
|
+
"short_name" : "CA",
|
266
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
267
|
+
},
|
268
|
+
{
|
269
|
+
"long_name" : "United States",
|
270
|
+
"short_name" : "US",
|
271
|
+
"types" : [ "country", "political" ]
|
272
|
+
}
|
273
|
+
],
|
274
|
+
"formatted_address" : "California, USA",
|
275
|
+
"geometry" : {
|
276
|
+
"bounds" : {
|
277
|
+
"northeast" : {
|
278
|
+
"lat" : 42.0095169,
|
279
|
+
"lng" : -114.131211
|
280
|
+
},
|
281
|
+
"southwest" : {
|
282
|
+
"lat" : 32.5342321,
|
283
|
+
"lng" : -124.4096195
|
284
|
+
}
|
285
|
+
},
|
286
|
+
"location" : {
|
287
|
+
"lat" : 36.778261,
|
288
|
+
"lng" : -119.4179324
|
289
|
+
},
|
290
|
+
"location_type" : "APPROXIMATE",
|
291
|
+
"viewport" : {
|
292
|
+
"northeast" : {
|
293
|
+
"lat" : 42.0095169,
|
294
|
+
"lng" : -114.131211
|
295
|
+
},
|
296
|
+
"southwest" : {
|
297
|
+
"lat" : 32.5342321,
|
298
|
+
"lng" : -124.4096195
|
299
|
+
}
|
300
|
+
}
|
301
|
+
},
|
302
|
+
"types" : [ "administrative_area_level_1", "political" ]
|
303
|
+
},
|
304
|
+
{
|
305
|
+
"address_components" : [
|
306
|
+
{
|
307
|
+
"long_name" : "United States",
|
308
|
+
"short_name" : "US",
|
309
|
+
"types" : [ "country", "political" ]
|
310
|
+
}
|
311
|
+
],
|
312
|
+
"formatted_address" : "United States",
|
313
|
+
"geometry" : {
|
314
|
+
"bounds" : {
|
315
|
+
"northeast" : {
|
316
|
+
"lat" : 90,
|
317
|
+
"lng" : 180
|
318
|
+
},
|
319
|
+
"southwest" : {
|
320
|
+
"lat" : -90,
|
321
|
+
"lng" : -180
|
322
|
+
}
|
323
|
+
},
|
324
|
+
"location" : {
|
325
|
+
"lat" : 37.09024,
|
326
|
+
"lng" : -95.712891
|
327
|
+
},
|
328
|
+
"location_type" : "APPROXIMATE",
|
329
|
+
"viewport" : {
|
330
|
+
"northeast" : {
|
331
|
+
"lat" : 49.38,
|
332
|
+
"lng" : -66.94
|
333
|
+
},
|
334
|
+
"southwest" : {
|
335
|
+
"lat" : 25.82,
|
336
|
+
"lng" : -124.39
|
337
|
+
}
|
338
|
+
}
|
339
|
+
},
|
340
|
+
"types" : [ "country", "political" ]
|
341
|
+
}
|
342
|
+
],
|
343
|
+
"status" : "OK"
|
344
|
+
}
|