Skip to content

Instantly share code, notes, and snippets.

@nz
Created November 7, 2008 23:14
Show Gist options
  • Save nz/22992 to your computer and use it in GitHub Desktop.
Save nz/22992 to your computer and use it in GitHub Desktop.
// The search query for this was my address here in Bremerton. This is the result.
{"places":
{"place":
[{ "woeid":2368481,
"placeTypeName":"Town",
"placeTypeName attrs":{"code":7},
"name":"Bremerton",
"country":"United States",
"country attrs":{"type":"Country","code":"US"},
"admin1":"Washington",
"admin1 attrs":{"type":"State","code":"US-WA"},
"admin2":"Kitsap",
"admin2 attrs":{"type":"County","code":""},
"admin3":"",
"locality1":"Bremerton",
"locality1 attrs":{"type":"Town"},
"locality2":"",
"postal":"", // this means there are multiple zip codes in Bremerton
"centroid":{"latitude":47.56498,"longitude":-122.625687},
"boundingBox":{
"southWest":{"latitude":47.499828,"longitude":-122.803299},
"northEast":{"latitude":47.606819,"longitude":-122.575569}
},
"uri":"http:\/\/where.yahooapis.com\/v1\/place\/2368481","lang":"en-us"
}],
"start":0,
"count":1,
"total":1
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment