Retrieve membership and Motors localities
Returns a list of towns used in member registration. This information is displayed on member profile as the “suburb” and also on listings where the approximate location of goods is important, such as in Trade Me Motors.
URL: | https://api.trademe.co.nz/v1/TmAreas.{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. |
|||||||
|