Unofficial carehome.co.uk API Client for Python.
Project description
Unofficial CareHome.co.uk Python API client
Unofficial CareHome.co.uk API Client for Python.
Installation
pip install carehomecouk
Requirements
- Python 3.7+
Usage
import datetime
from autumna.client import APIClient
from autumna.constants import Category
from autumna.resources.enquiry import Enquiry
api_client = APIClient('MY_API_KEY')
enquiries = Enquiry.many(
api_client,
date_time_from=datetime.datetime(2022, 4, 15),
category_id=Category.CARE_ENQUIRY
)
for enquiry in enquiries:
print(enquiry)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
carehomecouk-0.0.3.tar.gz
(6.2 kB
view details)
File details
Details for the file carehomecouk-0.0.3.tar.gz
.
File metadata
- Download URL: carehomecouk-0.0.3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58e465ff4a74897d4f9cabd2fcca579da2c4f57c4fc3d85de3d88951aad8b36 |
|
MD5 | 07c745c1726af91757f53935c95dad63 |
|
BLAKE2b-256 | 4aafd73c34fb1592f9c6a531a594a30fe8f8bc15a774aa71c151543db813f723 |