import requests
defcall(postal_code, settlement, street, street_number, auth_key): url = f"https://api.pro6pp.nl/v2/autocomplete/fr?postalCode={postal_code}&settlement={settlement}&street={street}&streetNumber={street_number}&authKey={auth_key}"try:
response = requests.get(url)
return response
except requests.exceptions.RequestException as e:
raise e
response = call("68110", "Illzach", "Rue de la Doller", "4", "YOUR_API_KEY")
print(response.status_code)
print(response.json())
We encourage you to request example code in the language you prefer. In the meantime, you might want to look at the autocomplete method, which is already demonstrated in many languages.