Unofficial Autumna API Client for Python.
Project description
Unofficial Autumna Python API client
Unofficial Autumna.co.uk API Client for Python.
Installation
pip install autumna
Requirements
- Python 3.7+
Usage
import datetime
from autumna.client import APIClient
from autumna.constants import Category
from autumna.resources.lead import Lead
api_client = APIClient('MY_API_KEY')
leads = Lead.many(
api_client,
date_from=datetime.date(2022, 1, 1),
date_to=datetime.date(2022, 4, 1),
is_anonymised=False,
category_id=Category.CONTACT_FORM_MESSAGE,
service_id=28058
)
for lead in leads:
print(lead)
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
Autumna-0.1.2.tar.gz
(5.0 kB
view details)
File details
Details for the file Autumna-0.1.2.tar.gz
.
File metadata
- Download URL: Autumna-0.1.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5670cbc73cf70e09fc17fdfe87c916ae3dcf108ad064dc95544c73929df0b318 |
|
MD5 | 08e63f9cc12719d06cd752a042e9551f |
|
BLAKE2b-256 | 882a9ec9f74139c6ed8d9c7ffecceaf4866da4b700c32bb993cb2a25cf4085e3 |