Get a city by its unique geoId.
name | type | description |
---|---|---|
geoId | path | the city's geoId |
media type | data type | description |
---|---|---|
application/json | city (JSON) | the matching city |
application/xml | city (XML) |
GET /1.0/city/{geoId} Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
{
"id" : "5357527",
"name" : "Hollywood",
"stateCode" : "CA",
"state" : "California",
"coords" : {
"long" : -118.3267434,
"lat" : 34.0983425
},
"country" : {
"code" : "US",
"name" : "United States"
}
}