Vorschlagen CH postalCode
Suggest a Swiss address.
Hinweis: Dies ist die Dokumentation für die v2-API, die sich noch im Beta-Stadium befindet.
GET Beispielanfrage:
https://api.pro6pp.nl/v2/suggest/ch/postalCode/?authKey=YOUR_AUTH_KEY&postalCode=5600
Diese Anwendung führt zu folgendem Ergebnis:
200: Postal code suggestion(s) available
[
{
"lat": 46.92741604521225,
"lng": 6.82400881638849,
"settlements": [
"Bevaix"
],
"postalCode": "2022",
"district": "Boudry",
"canton": "Neuchâtel",
"region": "Espace Mittelland"
}
]
Fehlerreaktionen
401: Not authenticated
404: No results found