Documentation ============== Installation ------------ .. code-block:: pip install tagoio-sdk Quick Example -------------- If you have any questions, feel free to check our `Help Center `_. Insert Device Data ~~~~~~~~~~~~~~~~~~ .. code-block:: 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 ~~~~~~~~~~~~~~~~~~ .. code-block:: from tagoio_sdk import Resources resources = Resource() resource.devices.editDeviceData("myDeviceID", { "id": "idOfTheRecord", "value": "new value", "unit": "new unit" }) Development Commands --------------------- .. code-block:: poetry install poetry run pytest tests/ poetry run flake8 src License -------- TagoIO SDK for Python is released under the `Apache-2.0 License `_ .. toctree:: Resources/index Device/index Services/index Utils/index Github Repository PyPI