A Result consisting of a list of cities.
name | data type | description |
---|---|---|
cities | array of city | result list of cities |
total | number | the total amount of items matching the query |
page | number | the current page. starts at 1 |
itemsPerPage | number | the amount of items you get per page |
Example
{ "cities" : [ { "id" : "5357527", "name" : "Hollywood", "stateCode" : "CA", "state" : "California", "coords" : { "long" : -118.3267434, "lat" : 34.0983425 }, "country" : { "code" : "US", "name" : "United States" } }, { "id" : "...", "name" : "...", "stateCode" : "...", "state" : "...", "coords" : { "long" : 12345.0, "lat" : 12345.0 }, "country" : { "code" : "...", "name" : "..." } } ], "total" : 42, "page" : 1, "itemsPerPage" : 20 }