# https://github.com/publicMindee/mindee-api-python from mindee import Client mindee_client = Client( passport_token="your_passport_api_token_here", raise_on_error=True ) parsed_data = mindee_client.parse_passport("/path/to/file")