Skip to main content

Official Python SDK for TagoIO

Project description


TagoIO

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


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 details)

Uploaded Source

Built Distribution

tagoio_sdk-4.3.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file tagoio_sdk-4.3.0.tar.gz.

File metadata

  • Download URL: tagoio_sdk-4.3.0.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1016-azure

File hashes

Hashes for tagoio_sdk-4.3.0.tar.gz
Algorithm Hash digest
SHA256 b35d828d94f00ac544e08a17d80628b4a8fcb823b08f8c4b7f42d61eece2c9ac
MD5 3b6c9eb3da808466821900c9dc346810
BLAKE2b-256 7c475b9dd7d25170423c3d41a1d3f47cb86c1eb3a897c6b5dfca1cb27bc5d029

See more details on using hashes here.

File details

Details for the file tagoio_sdk-4.3.0-py3-none-any.whl.

File metadata

  • Download URL: tagoio_sdk-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.8 Linux/6.5.0-1016-azure

File hashes

Hashes for tagoio_sdk-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ef5f9fc9f4631b38785cb179a6486708782259f815c543089f4d36e21e82a7e
MD5 f9e619724d2927a09b424a63cf2e2eb9
BLAKE2b-256 33962e0019dca36b39d231be2c4bbc3e7af20ca6f03b0f7006a395ba284deb61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page