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.0.2.tar.gz
(5.1 kB
view details)
File details
Details for the file Autumna-0.0.2.tar.gz
.
File metadata
- Download URL: Autumna-0.0.2.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac899740e747f3e8c9a929bb004c9216e8041518161a125c48c5402f9ccca552 |
|
MD5 | 14100e437efb76a928762e8dd739f1fe |
|
BLAKE2b-256 | 0bbdc191e1913cc212b847f243b588b8304ae4b93604a375febe08cdb1cb2a3b |