Skip to main content

Annotell Query API Client

Project description

Annotell Query API Client

Python 3 library providing access to the Annotell Query API.

To install with pip run pip install annotell-query

Set env ANNOTELL_CREDENTIALS, see annotell-auth.

Judgement Query Example

Stream all items matching a query

from annotell.query.query_api_client import QueryApiClient
query_client = QueryApiClient()
resp = query_client.query_judgements(query_filter="requestId = X")
for item in resp.items():
    print(item)

Change log

2.5.0

  • A new base Query client that can be inherrited for other applications

2.4.1

  • Use annotell-auth[requests]>=2.0.0

2.3.0

  • Use annotell-auth>=1.6
  • Remove metadata queries

2.2.0

  • Use annotell-auth>=1.5 with fault tolerant auth request session

2.1.0

  • Use server default query limits

2.0.0

  • Rename library to annotell-query
  • Rename QueryApi to QueryApiClient
  • Add KPI query method

1.3.0

  • Change constructor for authentication to only accept auth.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

annotell-query-2.5.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

annotell_query-2.5.0-py2.py3-none-any.whl (5.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page