<reponame>voximplant/apiclient-python
from voximplant.apiclient import VoximplantAPI, VoximplantException

if __name__ == "__main__":
    voxapi = VoximplantAPI("credentials.json")
    
    # Search for zip codes in Germany.

    COUNTRY_CODE = "DE"
    COUNT = 1
    
    try:
        res = voxapi.get_zip_codes(COUNTRY_CODE,
            count=COUNT)
        print(res)
    except VoximplantException as e:
        print("Error: {}".format(e.message))
    
