Skip to content

Instantly share code, notes, and snippets.

@MiniCodeMonkey
Created November 11, 2019 15:53
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 MiniCodeMonkey/cc9e5c2609580470e882c3fbf668207d to your computer and use it in GitHub Desktop.
Save MiniCodeMonkey/cc9e5c2609580470e882c3fbf668207d to your computer and use it in GitHub Desktop.
Geocodio Sample output for a batch of two addresses
{
"results": [
{
"query": "1109 N Highland St, Arlington VA",
"response": {
"input": {
"address_components": {
"number": "1109",
"predirectional": "N",
"street": "Highland",
"suffix": "St",
"formatted_street": "N Highland St",
"city": "Arlington",
"state": "VA",
"country": "US"
},
"formatted_address": "1109 N Highland St, Arlington, VA"
},
"results": [
{
"address_components": {
"number": "1109",
"predirectional": "N",
"street": "Highland",
"suffix": "St",
"formatted_street": "N Highland St",
"city": "Arlington",
"county": "Arlington County",
"state": "VA",
"zip": "22201",
"country": "US"
},
"formatted_address": "1109 N Highland St, Arlington, VA 22201",
"location": {
"lat": 38.886672,
"lng": -77.094735
},
"accuracy": 1,
"accuracy_type": "rooftop",
"source": "Arlington"
}
]
}
},
{
"query": "15000 NE 24th Street, Redmond WA",
"response": {
"input": {
"address_components": {
"number": "15000",
"predirectional": "NE",
"street": "24th",
"suffix": "St",
"formatted_street": "NE 24th St",
"city": "Redmond",
"state": "WA",
"country": "US"
},
"formatted_address": "15000 NE 24th St, Redmond, WA"
},
"results": [
{
"address_components": {
"number": "15000",
"predirectional": "NE",
"street": "24th",
"suffix": "St",
"formatted_street": "NE 24th St",
"city": "Redmond",
"county": "King County",
"state": "WA",
"zip": "98052",
"country": "US"
},
"formatted_address": "15000 NE 24th St, Redmond, WA 98052",
"location": {
"lat": 47.632698,
"lng": -122.140152
},
"accuracy": 1,
"accuracy_type": "rooftop",
"source": "King"
},
{
"address_components": {
"number": "15000",
"predirectional": "NE",
"street": "24th",
"suffix": "St",
"formatted_street": "NE 24th St",
"city": "Redmond",
"county": "King County",
"state": "WA",
"zip": "98052",
"country": "US"
},
"formatted_address": "15000 NE 24th St, Redmond, WA 98052",
"location": {
"lat": 47.632574,
"lng": -122.140144
},
"accuracy": 1,
"accuracy_type": "rooftop",
"source": "City of Bellevue"
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment