/cities
This endpoint delivers all of Distribusion’s cities and provides the detailed information required for mapping these cities in your system. We recommend calling this API on a weekly basis to detect newly mapped cities and add them to your system.
For details about how this endpoint fits into the flow, check the Preparing Metadata step.
Header Parameters
Set your API key. To request a demo API key please reach out to us at partner@distribusion.com. Reference value: ZW8FXhnBl53yTkrMvoqLp4Xq7mf9nEBGsxpTWrid.
Query Parameters
Set the language for the content of the response. The field accepts ISO 639 language codes. If the content in the specified language is unavailable, English will be returned. For more details check our Languages guide. Reference value: en.
Set the max number of connected stations to appear in the response. Reference value: 1000 (max value supported 10000).
Set the station. If a response is over 10000 results long, it includes a links.next parameter which specifies the link that should be inserted in page[after] for the subsequent request to proceed to the next page. Reference value: ATGRZGPR.
Receive a list of alternative identifiers (common aliases and external codes) for each location. Sample value alternative_identifiers.