aito.client.v2

The Aito v2 API client

AitoClientV2 is a separate class from the v1 AitoClient rather than a flag on it. The reasoning is in docs/v2-client-design.md.

>>> from aito.client.v2 import AitoClientV2
>>> client = AitoClientV2(instance_url, api_key)
>>> client.predict(from_table='invoices', where={'vendor': 'Elenia Oy'},
...                predict='gl_code').first.value
'6110'

Modules

client

A client for the Aito v2 API

errors

Errors raised by the Aito v2 client

responses

Response classes returned by the AitoClientV2