{"library":"postgrid-python","title":"PostGrid Python Library","description":"The official Python library for the PostGrid API. Provides convenient access to the PostGrid print-and-mail and address verification APIs. Current version 2.1.1, actively maintained with monthly releases.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install postgrid-python"],"cli":null},"imports":["from postgrid import PostGridClient"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom postgrid import PostGridClient\n\nclient = PostGridClient(api_key=os.environ.get('POSTGRID_API_KEY', ''))\n\n# Verify an address\ntry:\n    result = client.addresses.verify(\n        firstLine='123 Main St',\n        city='New York',\n        provinceOrState='NY',\n        zipOrPostalCode='10001',\n        country='US'\n    )\n    print(result.to_dict())\nexcept Exception as e:\n    print(f'Error: {e}')","lang":"python","description":"Verify an address using the PostGrid API with environment variable for API key.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}