# Unofficial CareHome.co.uk Python API client
Unofficial CareHome.co.uk API Client for Python.
## Installation
```
pip install carehomecouk
```
## Requirements
- Python 3.7+
# Usage
```Python
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)
Raw data
{
"_id": null,
"home_page": "https://github.com/CareHQ/carehomecouk-python",
"name": "carehomecouk",
"maintainer": "Anthony Blackshaw",
"docs_url": null,
"requires_python": "",
"maintainer_email": "ant@crmhq.co.uk",
"keywords": "carehome.co.uk",
"author": "Anthony Blackshaw",
"author_email": "ant@crmhq.co.uk",
"download_url": "https://files.pythonhosted.org/packages/8a/cc/125da713d2485c6b3ddec8833f7865544418770bef76d4525dbb55010bdd/carehomecouk-0.0.2.tar.gz",
"platform": null,
"description": "# Unofficial CareHome.co.uk Python API client\n\nUnofficial CareHome.co.uk API Client for Python.\n\n\n## Installation\n\n```\npip install carehomecouk\n```\n\n\n## Requirements\n\n- Python 3.7+\n\n\n# Usage\n\n```Python\n\nimport datetime\n\nfrom autumna.client import APIClient\nfrom autumna.constants import Category\nfrom autumna.resources.enquiry import Enquiry\n\napi_client = APIClient('MY_API_KEY')\n\nenquiries = Enquiry.many(\n api_client,\n date_time_from=datetime.datetime(2022, 4, 15),\n category_id=Category.CARE_ENQUIRY\n)\n\nfor enquiry in enquiries:\n print(enquiry)",
"bugtrack_url": null,
"license": "MIT",
"summary": "Unofficial carehome.co.uk API Client for Python.",
"version": "0.0.2",
"split_keywords": [
"carehome.co.uk"
],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "c123edf2ab5e48fad129c309bfd31505",
"sha256": "a1ab521046e2706376acd1d4a4de0103a89432840320518781408949ad4ccb2f"
},
"downloads": -1,
"filename": "carehomecouk-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "c123edf2ab5e48fad129c309bfd31505",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4836,
"upload_time": "2022-12-11T01:39:57",
"upload_time_iso_8601": "2022-12-11T01:39:57.379929Z",
"url": "https://files.pythonhosted.org/packages/8a/cc/125da713d2485c6b3ddec8833f7865544418770bef76d4525dbb55010bdd/carehomecouk-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-12-11 01:39:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "CareHQ",
"github_project": "carehomecouk-python",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "carehomecouk"
}