Python SDK

Python SDK

You can access our SDK documentation on:

Installation

  1. pip install tagoio-sdk

Quick Start

  1. from tagoio_sdk import Account

  2. account = Account({"token": "your-token"})
  3. devices = account.devices.list()

Remote Imports in Analysis

Python Analyses supports remote imports. Just import packages directly in your script and they'll be installed at runtime:
  1. from tagoio_sdk import Analysis
  2. from pandas import DataFrame
  3. import requests

Info
When executing requests to TagoIO, you will have a limit on the number of requests that can be made during a certain time period. Read more about our Rate Limits.

    • Related Articles

    • Analysis Overview

      Analysis lets you run custom code inside TagoIO to process data in real time, call third‑party APIs, and work with your own TagoIO resources. Common things people do with Analyses: Convert units and run math on variables Write new values into other ...
    • Node.js SDK

      You can access our SDK documentation on: https://js.sdk.tago.io If you are looking for documentation for old version (9.x.x) you access it on: https://tago-sdk-js-documentation.rtfd.io/ The old SDK will be discontinued at 2030. When executing ...
    • Creating Analysis

      Creating your own analysis is easy. First, click on Analysis on the sidebar, then click the + Add Analysis button in the upper right of the analysis main screen. Just write a name and you’re ready to go! 1. Name What you usually use to identify your ...
    • Beagle Bone Black

      This simple tutorial using the Beagle Bone Black - BBB board will show you some principles to integrate your solution with Tago. More than just connect the BBB to the cloud, you will learn how to easily reuse this code into your own application ...
    • Raspberry Pi

      Visit this tutorial from our Community to learn how to communicate a Raspberry PI board with TagoIO using our SDK or the MQTT protocol.  More tutorials like this are available in our Forum inside our Community.