Skip to main content

ThingsBoard REST API client

Project description

ThingsBoard Python REST API client

Join our Discord

The ThingsBoard REST API Client helps you interact with ThingsBoard REST API from your Python script.
With Python Rest Client you can programmatically create assets, devices, customers, users and other entities and their relations in ThingsBoard.

The recommended method for installing the Rest Client is a pip.

The Python version of the REST API client is under developing. If you have discovered any bug, please write us using email or by opening the issue.

Installation

In order to install the ThingsBoard REST client, you should use the following command:

pip3 install tb-rest-client
Examples

You can find the examples of the usage in the "examples" folder or on the our website.

Note: There are 2 REST clients for ThingsBoard, they are depend on version of the ThingsBoard, you use.

  • If you use the ThingsBoard Community Edition (ThingsBoard CE) - please use the following command to import the REST client into your script:
    from tb_rest_client.rest_client_ce import *
    The REST client class has name "RestClientCE".

  • If you use the ThingsBoard Professional Edition (ThingsBoard PE) - please use the following command to import the REST client into your script:
    from tb_rest_client.rest_client_pe import *
    The REST client class has name "RestClientPE".

If you use the wrong version of the REST client, it could work unexpectedly.

Support

Don't forget to star the repository to show your ❤️ and support.

Licenses

This project is released under 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

tb_rest_client-4.3.tar.gz (972.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tb_rest_client-4.3-py3-none-any.whl (2.8 MB view details)

Uploaded Python 3

File details

Details for the file tb_rest_client-4.3.tar.gz.

File metadata

  • Download URL: tb_rest_client-4.3.tar.gz
  • Upload date:
  • Size: 972.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.0 Darwin/24.6.0

File hashes

Hashes for tb_rest_client-4.3.tar.gz
Algorithm Hash digest
SHA256 1fa6aa6b8e3cd815779d1361783240d004339ef40269cff4f1ad89fd425bb1cc
MD5 5264213ac04dad89372eedcfe8816935
BLAKE2b-256 a52b943bd5ae68035aa8ffda86b5d9faa74637e7aceec275aed9af922c53af83

See more details on using hashes here.

File details

Details for the file tb_rest_client-4.3-py3-none-any.whl.

File metadata

  • Download URL: tb_rest_client-4.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.14.0 Darwin/24.6.0

File hashes

Hashes for tb_rest_client-4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0a3a9c4c0881a5909274a512f14758be0835a044ac12a10c4387cffab22a5a68
MD5 736abf3685fa08e65c7e91acb7ab606f
BLAKE2b-256 298ad01689773c7fe2ad381f63a3cb773d15f4724de7d40713d6d82ff46a0360

See more details on using hashes here.

Supported by

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