Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jrm2k6
Created April 4, 2019 23:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrm2k6/77acbb33fe9deaadc893583889f6af86 to your computer and use it in GitHub Desktop.
Save jrm2k6/77acbb33fe9deaadc893583889f6af86 to your computer and use it in GitHub Desktop.
Predictions for input: 2234 Brant Street San Diego
[
{
"description": "2234 Brant Street, San Diego, CA, USA",
"id": "9e4be32037a103ef7668e65330a6200518e59c42",
"matched_substrings": [
{
"length": 4,
"offset": 0
},
{
"length": 12,
"offset": 5
},
{
"length": 9,
"offset": 19
}
],
"place_id": "ChIJGw4CUrFU2YARfeKfZimjNpc",
"reference": "ChIJGw4CUrFU2YARfeKfZimjNpc",
"structured_formatting": {
"main_text": "2234 Brant Street",
"main_text_matched_substrings": [
{
"length": 4,
"offset": 0
},
{
"length": 12,
"offset": 5
}
],
"secondary_text": "San Diego, CA, USA",
"secondary_text_matched_substrings": [
{
"length": 9,
"offset": 0
}
]
},
"terms": [
{
"offset": 0,
"value": "2234"
},
{
"offset": 5,
"value": "Brant Street"
},
{
"offset": 19,
"value": "San Diego"
},
{
"offset": 30,
"value": "CA"
},
{
"offset": 34,
"value": "USA"
}
],
"types": [
"street_address",
"geocode"
]
},
{
"description": "2234 Brant Lane, Carlsbad, San Diego, CA, USA",
"id": "a3b2f149c2214f2fade142ecda852d6eef987ebe",
"matched_substrings": [
{
"length": 15,
"offset": 0
},
{
"length": 9,
"offset": 27
}
],
"place_id": "Ei0yMjM0IEJyYW50IExhbmUsIENhcmxzYmFkLCBTYW4gRGllZ28sIENBLCBVU0EiMRIvChQKEglj0m2nqgzcgBGRAj41znpxhxC6ESoUChIJIbUfp6oM3IARNxsAvd9m79U",
"reference": "Ei0yMjM0IEJyYW50IExhbmUsIENhcmxzYmFkLCBTYW4gRGllZ28sIENBLCBVU0EiMRIvChQKEglj0m2nqgzcgBGRAj41znpxhxC6ESoUChIJIbUfp6oM3IARNxsAvd9m79U",
"structured_formatting": {
"main_text": "2234 Brant Lane",
"main_text_matched_substrings": [
{
"length": 15,
"offset": 0
}
],
"secondary_text": "Carlsbad, San Diego, CA, USA",
"secondary_text_matched_substrings": [
{
"length": 9,
"offset": 10
}
]
},
"terms": [
{
"offset": 0,
"value": "2234 Brant Lane"
},
{
"offset": 17,
"value": "Carlsbad"
},
{
"offset": 27,
"value": "San Diego"
},
{
"offset": 38,
"value": "CA"
},
{
"offset": 42,
"value": "USA"
}
],
"types": [
"route",
"geocode"
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment