ThingsBoard REST API client
Project description
ThingsBoard Python REST API client
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
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
Built Distribution
File details
Details for the file tb_rest_client-3.8.0.tar.gz
.
File metadata
- Download URL: tb_rest_client-3.8.0.tar.gz
- Upload date:
- Size: 940.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.13.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34983956498cc4536f48cb3fe9767db5ce2e28df7bd3b608a9268d06816f053 |
|
MD5 | b35ad38addd7aa316fb1c9db8f0ef53a |
|
BLAKE2b-256 | 5cfcc8e43d7578c7eac4245aa2d4cbc8a34e8bc7edcb20a9376545dd1304867a |
File details
Details for the file tb_rest_client-3.8.0-py3-none-any.whl
.
File metadata
- Download URL: tb_rest_client-3.8.0-py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.13.0 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42d255eb2f4dd908af8306a8edab75fa9d65fbbe3790a0c730b4dcdac2437176 |
|
MD5 | 8d94478f0be5ad53d178ea63db340807 |
|
BLAKE2b-256 | 78195b5b72af5cbd59f8c7603946eac80497d5f74c8412216070749a2c8c948c |