API Keys

New in version 6.10.

The new authentication method using API keys is an alternative to the existing HMAC-based authentication. Instead of having both an access key and a shared secret, a single API key is used.

The following is an example of the new config file option:

config.toml
[emtellipro]
output = "sqlite:///test.db"
[general]
api-key = "<the api key>"
server = "https://nlp.emtelligent.com"

Then you can process documents using:

$ emtellipro-db-client -c ./config.toml create-db
$ emtellipro-db-client -c ./config.toml process example-data/

An alternative to the config file is the new --api-key command-line option.

Python API

The new API key is supported by the Emtellipro class:

import emtellipro
client = emtellipro.Emtellipro(
auth='<api key here>',
server='https://nlp.emtelligent.com',
)