import requests
defcall(street, settlement, street_number, auth_key): url = f"https://api.pro6pp.nl/v2/suggest/fr/streetNumber?street={street}&settlement={settlement}&streetNumber={street_number}&authKey={auth_key}"try:
response = requests.get(url)
return response
except requests.exceptions.RequestException as e:
raise e
response = call("Rue de la Doller", "Illzach", "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.