import requests
defcall(postal_code, street, street_number, auth_key): url = f"https://api.pro6pp.nl/v2/autocomplete/lu?postalCode={postal_code}&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("8806", "Rue du Nord", "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.