aito.v2
The Aito v2 API client
This package’s meaning never changes: aito.v2 is v2 for as long as it exists.
aito.Client is the one name that follows the current default version — see
docs/versioned-namespaces.md. The v2 client 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.v2 import Client
>>> client = Client(instance_url, api_key)
>>> client.predict(from_table='invoices', where={'vendor': 'Elenia Oy'},
... predict='gl_code').first.value
'6110'
Module Attributes
Version-neutral names. |
Modules
A client for the Aito v2 API |
|
Errors raised by the Aito v2 client |
|
Response classes returned by the |