Overview
doccano-client is a simple client wrapper for the doccano API.
Installation
To install doccano-client
, simply run:
Usage
from doccano_client import DoccanoClient
# instantiate a client and log in to a Doccano instance
client = DoccanoClient('http://doccano.example.com')
client.login(username='username', password='password')
# get basic information about the authorized user
user = client.get_profile()
# list all projects
projects = client.list_projects()