Retrieve travel localities
Returns a list of districts and suburbs as used by TradeMe travel.
URL: | https://api.trademe.co.nz/v1/travelareas.{file_format} |
---|---|
HTTP Method: | GET |
Requires Authentication? | No |
Permission Required: | Public |
Supported Formats: | XML, JSON |
Rate Limited? | No |
URL parameters
file_format | Enumeration (required) | The format of the response. | ||||
---|---|---|---|---|---|---|
|
Returns
Collection of <Locality>
A list of all localities.
LocalityId | Integer | LocalityId | |||||||
---|---|---|---|---|---|---|---|---|---|
Name | String or null | Name | |||||||
Districts | Collection of <District> or null | Districts | |||||||
|