<br/>
<p align="center">
<img src="https://assets.tago.io/tagoio/sdk.png" width="250px" alt="TagoIO"></img>
</p>
# TagoIO - Python SDK
Official Python SDK for TagoIO
## Installation
```bash
pip install tagoio-sdk
```
## Quick Example
If you have any questions, feel free to check our [Help Center](https://help.tago.io/portal/en/home)
### Insert Device Data
```python
from tagoio_sdk import Resources
resources = Resources()
resource.devices.sendDeviceData("myDeviceID", {
"variable": "temperature",
"unit": "F",
"value": 55,
"time": "2015-11-03 13:44:33",
"location": {"lat": 42.2974279, "lng": -85.628292},
})
```
### Edit Device Data
```python
from tagoio_sdk import Resources
resources = Resource()
resource.devices.editDeviceData("myDeviceID", {
"id": "idOfTheRecord",
"value": "new value",
"unit": "new unit"
})
```
## Development Commands
```bash
poetry install
poetry run pytest tests/
poetry run flake8 src
```
## License
TagoIO SDK for Python is released under the [Apache-2.0 License](https://github.com/tago-io/sdk-python/blob/master/LICENSE)
Raw data
{
"_id": null,
"home_page": "https://tago.io/",
"name": "tagoio-sdk",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.9",
"maintainer_email": null,
"keywords": "tagoio, iot, analysis, tago, sensor, device",
"author": "TagoIO Inc.",
"author_email": "contact@tago.io",
"download_url": "https://files.pythonhosted.org/packages/7c/47/5b9dd7d25170423c3d41a1d3f47cb86c1eb3a897c6b5dfca1cb27bc5d029/tagoio_sdk-4.3.0.tar.gz",
"platform": null,
"description": "<br/>\n<p align=\"center\">\n <img src=\"https://assets.tago.io/tagoio/sdk.png\" width=\"250px\" alt=\"TagoIO\"></img>\n</p>\n\n# TagoIO - Python SDK\n\nOfficial Python SDK for TagoIO\n\n## Installation\n\n```bash\npip install tagoio-sdk\n```\n\n## Quick Example\n\nIf you have any questions, feel free to check our [Help Center](https://help.tago.io/portal/en/home)\n\n### Insert Device Data\n\n```python\nfrom tagoio_sdk import Resources\n\nresources = Resources()\nresource.devices.sendDeviceData(\"myDeviceID\", {\n \"variable\": \"temperature\",\n \"unit\": \"F\",\n \"value\": 55,\n \"time\": \"2015-11-03 13:44:33\",\n \"location\": {\"lat\": 42.2974279, \"lng\": -85.628292},\n})\n```\n\n### Edit Device Data\n\n```python\nfrom tagoio_sdk import Resources\n\nresources = Resource()\nresource.devices.editDeviceData(\"myDeviceID\", {\n \"id\": \"idOfTheRecord\",\n \"value\": \"new value\",\n \"unit\": \"new unit\"\n})\n```\n\n## Development Commands\n\n```bash\npoetry install\npoetry run pytest tests/\npoetry run flake8 src\n```\n\n## License\n\nTagoIO SDK for Python is released under the [Apache-2.0 License](https://github.com/tago-io/sdk-python/blob/master/LICENSE)\n",
"bugtrack_url": null,
"license": "Apache License",
"summary": "Official Python SDK for TagoIO",
"version": "4.3.0",
"project_urls": {
"Documentation": "https://py.sdk.tago.io/",
"Homepage": "https://tago.io/",
"Repository": "https://github.com/tago-io/sdk-python/"
},
"split_keywords": [
"tagoio",
" iot",
" analysis",
" tago",
" sensor",
" device"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "33962e0019dca36b39d231be2c4bbc3e7af20ca6f03b0f7006a395ba284deb61",
"md5": "f9e619724d2927a09b424a63cf2e2eb9",
"sha256": "8ef5f9fc9f4631b38785cb179a6486708782259f815c543089f4d36e21e82a7e"
},
"downloads": -1,
"filename": "tagoio_sdk-4.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9e619724d2927a09b424a63cf2e2eb9",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 49115,
"upload_time": "2024-03-20T19:54:32",
"upload_time_iso_8601": "2024-03-20T19:54:32.785895Z",
"url": "https://files.pythonhosted.org/packages/33/96/2e0019dca36b39d231be2c4bbc3e7af20ca6f03b0f7006a395ba284deb61/tagoio_sdk-4.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7c475b9dd7d25170423c3d41a1d3f47cb86c1eb3a897c6b5dfca1cb27bc5d029",
"md5": "3b6c9eb3da808466821900c9dc346810",
"sha256": "b35d828d94f00ac544e08a17d80628b4a8fcb823b08f8c4b7f42d61eece2c9ac"
},
"downloads": -1,
"filename": "tagoio_sdk-4.3.0.tar.gz",
"has_sig": false,
"md5_digest": "3b6c9eb3da808466821900c9dc346810",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 31045,
"upload_time": "2024-03-20T19:54:33",
"upload_time_iso_8601": "2024-03-20T19:54:33.877841Z",
"url": "https://files.pythonhosted.org/packages/7c/47/5b9dd7d25170423c3d41a1d3f47cb86c1eb3a897c6b5dfca1cb27bc5d029/tagoio_sdk-4.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-20 19:54:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tago-io",
"github_project": "sdk-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tagoio-sdk"
}