Extract API in the Python SDK
Python SDK 3.7.0 adds you.extract() and you.extract_async() for the Extract API. They take the same parameters as POST /v1/extract, and API errors raise ExtractError with the stable code and retryable fields. Install it with pip install -U youdotcom on Python 3.10 or later.