import requests
defcall(street, settlement, street_number, auth_key): url = f"https://api.pro6pp.nl/v2/suggest/lu/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 du Nord", "Rambrouch", "1", "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.