Metadata-Version: 2.1
Name: annotell-query
Version: 2.4.1
Summary: Annotell Query API Client
Home-page: https://github.com/annotell/annotell-python
Download-URL: https://github.com/annotell/annotell-python/tarball/2.4.1
Author: Annotell
Author-email: Michel Edkrantz <michel.edkrantz@annotell.com>
License: MIT
Keywords: API,Annotell
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Requires-Python: ~=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests (<3,>=2.20)
Requires-Dist: annotell-auth[requests] (<3,>=2.0.0)

# 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](https://github.com/annotell/annotell-python/tree/master/annotell-auth). 

## Judgement Query Example
Stream all items matching a query
```python
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.4.0
- 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`. 

