Official Python SDK for TagoIO
Project description
TagoIO - Python SDK
Official Python SDK for TagoIO
Installation
pip install tagoio-sdk
Quick Example
If you have any questions, feel free to check our Help Center
Insert Device Data
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
from tagoio_sdk import Resources
resources = Resource()
resource.devices.editDeviceData("myDeviceID", {
"id": "idOfTheRecord",
"value": "new value",
"unit": "new unit"
})
Development Commands
poetry install
poetry run pytest tests/
poetry run flake8 src
License
TagoIO SDK for Python is released under the Apache-2.0 License
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
tagoio_sdk-4.3.0.tar.gz
(31.0 kB
view hashes)
Built Distribution
tagoio_sdk-4.3.0-py3-none-any.whl
(49.1 kB
view hashes)
Close
Hashes for tagoio_sdk-4.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ef5f9fc9f4631b38785cb179a6486708782259f815c543089f4d36e21e82a7e |
|
MD5 | f9e619724d2927a09b424a63cf2e2eb9 |
|
BLAKE2b-256 | 33962e0019dca36b39d231be2c4bbc3e7af20ca6f03b0f7006a395ba284deb61 |