[![GitHub Release][releases-shield]][releases]
[![GitHub Activity][commits-shield]][commits]
[![License][license-shield]](LICENSE)
![Project Maintenance][maintenance-shield]
[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]
Api Wrapper for Carrier Infinity API using async in python, this was inspired by [this guide](https://developers.home-assistant.io/docs/api_lib_index) to be a lightweight wrapper, with simple error handling.
a lot of this is based on https://my.carrier.com/.
***
[carrier_api]: https://github.com/dahlb/carrier_api
[commits-shield]: https://img.shields.io/github/commit-activity/y/dahlb/carrier_api.svg?style=for-the-badge
[commits]: https://github.com/dahlb/carrier_api/commits/main
[forum]: https://community.home-assistant.io/
[license-shield]: https://img.shields.io/github/license/dahlb/carrier_api.svg?style=for-the-badge
[maintenance-shield]: https://img.shields.io/badge/maintainer-Bren%20Dahl%20%40dahlb-blue.svg?style=for-the-badge
[releases-shield]: https://img.shields.io/github/release/dahlb/carrier_api.svg?style=for-the-badge
[releases]: https://github.com/dahlb/carrier_api/releases
[buymecoffee]: https://www.buymeacoffee.com/dahlb
[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge
to update schema add this to api_connection_graphql#authed_query
```
introspection_query = get_introspection_query(**session.client.introspection_args)
execution_result = await transport.execute(parse(introspection_query))
schema = dumps(execution_result.data, indent=2)
_LOGGER.debug(schema)
with open("schema.graphql", "w") as f:
f.write(schema)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "carrier-api",
"maintainer": null,
"docs_url": null,
"requires_python": "<4,>=3.10",
"maintainer_email": null,
"keywords": "carrier, api",
"author": null,
"author_email": "Bren Dahl <dahl.brendan@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/12/f5/1f5a048286f147ce0c25a25c1c22d9278f63cb3f8717f21b99d6eb6d180d/carrier_api-2.7.4.tar.gz",
"platform": null,
"description": "[![GitHub Release][releases-shield]][releases]\n[![GitHub Activity][commits-shield]][commits]\n[![License][license-shield]](LICENSE)\n\n![Project Maintenance][maintenance-shield]\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\n\n\nApi Wrapper for Carrier Infinity API using async in python, this was inspired by [this guide](https://developers.home-assistant.io/docs/api_lib_index) to be a lightweight wrapper, with simple error handling.\n\na lot of this is based on https://my.carrier.com/.\n\n***\n\n[carrier_api]: https://github.com/dahlb/carrier_api\n[commits-shield]: https://img.shields.io/github/commit-activity/y/dahlb/carrier_api.svg?style=for-the-badge\n[commits]: https://github.com/dahlb/carrier_api/commits/main\n[forum]: https://community.home-assistant.io/\n[license-shield]: https://img.shields.io/github/license/dahlb/carrier_api.svg?style=for-the-badge\n[maintenance-shield]: https://img.shields.io/badge/maintainer-Bren%20Dahl%20%40dahlb-blue.svg?style=for-the-badge\n[releases-shield]: https://img.shields.io/github/release/dahlb/carrier_api.svg?style=for-the-badge\n[releases]: https://github.com/dahlb/carrier_api/releases\n[buymecoffee]: https://www.buymeacoffee.com/dahlb\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge\n\n\nto update schema add this to api_connection_graphql#authed_query\n```\nintrospection_query = get_introspection_query(**session.client.introspection_args)\nexecution_result = await transport.execute(parse(introspection_query))\nschema = dumps(execution_result.data, indent=2)\n_LOGGER.debug(schema)\nwith open(\"schema.graphql\", \"w\") as f:\n f.write(schema)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Carrier Api Wrapper",
"version": "2.7.4",
"project_urls": {
"Bug Tracker": "https://github.com/dahlb/carrier_api/issues",
"Homepage": "https://github.com/dahlb/carrier_api"
},
"split_keywords": [
"carrier",
" api"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e1028bbc74bb1ddbe1e14e57b0eb00efe55c237ed5982fef9cf84353dacec185",
"md5": "6c6f7160ec81a0f52b20d2d428022f23",
"sha256": "c559b61d75da1b99b9a6665b91b388cf34dfada3497124769558c5a217f599c7"
},
"downloads": -1,
"filename": "carrier_api-2.7.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6c6f7160ec81a0f52b20d2d428022f23",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4,>=3.10",
"size": 16129,
"upload_time": "2025-03-06T01:12:36",
"upload_time_iso_8601": "2025-03-06T01:12:36.728238Z",
"url": "https://files.pythonhosted.org/packages/e1/02/8bbc74bb1ddbe1e14e57b0eb00efe55c237ed5982fef9cf84353dacec185/carrier_api-2.7.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "12f51f5a048286f147ce0c25a25c1c22d9278f63cb3f8717f21b99d6eb6d180d",
"md5": "44bc7a91df721e6719ad9d15b300f378",
"sha256": "e35b1f0c729c89886d5fa1da945b21e6d8ade57446a70b442c2189b437b2c2b9"
},
"downloads": -1,
"filename": "carrier_api-2.7.4.tar.gz",
"has_sig": false,
"md5_digest": "44bc7a91df721e6719ad9d15b300f378",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4,>=3.10",
"size": 14208,
"upload_time": "2025-03-06T01:12:38",
"upload_time_iso_8601": "2025-03-06T01:12:38.278645Z",
"url": "https://files.pythonhosted.org/packages/12/f5/1f5a048286f147ce0c25a25c1c22d9278f63cb3f8717f21b99d6eb6d180d/carrier_api-2.7.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-03-06 01:12:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dahlb",
"github_project": "carrier_api",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "ruff",
"specs": [
[
"==",
"0.9.9"
]
]
},
{
"name": "gql",
"specs": []
},
{
"name": "aiohttp",
"specs": []
},
{
"name": "deepmerge",
"specs": []
},
{
"name": "python-dateutil",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "pytest",
"specs": []
},
{
"name": "pytest-md",
"specs": []
},
{
"name": "pytest-emoji",
"specs": []
}
],
"lcname": "carrier-api"
}