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.3.tar.gz
(6.2 kB
view details)
File details
Details for the file Autumna-0.0.3.tar.gz
.
File metadata
- Download URL: Autumna-0.0.3.tar.gz
- Upload date:
- Size: 6.2 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 | d7159a9c8596f48b69186b7abef11a955f9278ec4f3c4f6bba01e1289f63b959 |
|
MD5 | 42da360f95e77dde47927d113709a1d6 |
|
BLAKE2b-256 | f6b4388c4f18f99ea2d021c6ff774b7da4125fd890b5f04a0fae7b2a0a5f5d8c |