carrier-api


Namecarrier-api JSON
Version 2.9.0 PyPI version JSON
download
home_pageNone
SummaryCarrier Api Wrapper
upload_time2025-07-22 10:45:42
maintainerNone
docs_urlNone
authorNone
requires_python<4,>=3.10
licenseNone
keywords carrier api
VCS
bugtrack_url
requirements ruff gql aiohttp deepmerge python-dateutil pytest pytest pytest-md pytest-emoji
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![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/fb/9a/b2930ef61b8f432ec85f299ae9ca7d67270933355dffb21d1ded0b9253f3/carrier_api-2.9.0.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.9.0",
    "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": "3c11406a908a20f33f9e32b334e4b34e67551b4cdf6a98fdf1f8e9dd34eed441",
                "md5": "871ccd04db62d4c2991f92f602201661",
                "sha256": "122eda551535512cf93d8e6805f7e6e28bf638ab7c85796e6d69a3f829f9d5ce"
            },
            "downloads": -1,
            "filename": "carrier_api-2.9.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "871ccd04db62d4c2991f92f602201661",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.10",
            "size": 16162,
            "upload_time": "2025-07-22T10:45:42",
            "upload_time_iso_8601": "2025-07-22T10:45:42.026009Z",
            "url": "https://files.pythonhosted.org/packages/3c/11/406a908a20f33f9e32b334e4b34e67551b4cdf6a98fdf1f8e9dd34eed441/carrier_api-2.9.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fb9ab2930ef61b8f432ec85f299ae9ca7d67270933355dffb21d1ded0b9253f3",
                "md5": "3f5f314e338ecbe62357d93bfa04b2c4",
                "sha256": "45f621a4f9a1ec855eb8b8255085c7ca5ebed6ad887e17f211605c97ab429915"
            },
            "downloads": -1,
            "filename": "carrier_api-2.9.0.tar.gz",
            "has_sig": false,
            "md5_digest": "3f5f314e338ecbe62357d93bfa04b2c4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.10",
            "size": 14389,
            "upload_time": "2025-07-22T10:45:42",
            "upload_time_iso_8601": "2025-07-22T10:45:42.870827Z",
            "url": "https://files.pythonhosted.org/packages/fb/9a/b2930ef61b8f432ec85f299ae9ca7d67270933355dffb21d1ded0b9253f3/carrier_api-2.9.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-22 10:45:42",
    "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.12.4"
                ]
            ]
        },
        {
            "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"
}
        
Elapsed time: 2.82189s