Affinda API - Python Client Library
This is a python client for the Affinda document parsing API which wraps all available endpoints and handles authentication and signing. You may also want to refer to the full API documentation for additional information.
Installation
pip install affinda
Quickstart
If you don't have an API token, obtain one from affinda.com.
from affinda import AffindaAPI, TokenCredential
credential = TokenCredential(token="YOUR_API_TOKEN")
client = AffindaAPI(credential=credential)
with open("PATH_TO_FILE", "rb") as f:
resume = client.create_resume(file=f)
Samples
Samples for all operations using the client can be found here.