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 |
The ID of the region. |
|||||||
|---|---|---|---|---|---|---|---|---|---|
| Name | String or null |
The name of the region. |
|||||||
| Districts | Collection of <District> or null |
The list of districts that belong to this region. |
|||||||
|
|||||||||