Access
Python SDK
Call MessyAPI from Python.
Install the typed client (Python 3.8+):
pip install https://messyapi.com/pkg/messyapi-1.1.0-py3-none-any.whlfrom messyapi import MessyAPI, MessyAPIError
api = MessyAPI() # reads MESSYAPI_API_KEY
try:
out = api.normalize_phone(data=[{"phone": "(415) 555-0132 x12"}], options={"field": "phone"})
print(out)
except MessyAPIError as e:
print(e.code, e.status, e.request_id)Retries 429 and 5xx with backoff and honours Retry-After. Every endpoint in the OpenAPI spec has a method; code written for the old zapinner package keeps working.