Skip to main content

ThingsBoard REST API client

Project description

tb-rest-client-fork

This repository is forked version of original tb-rest-client project stored in github repository https://github.com/thingsboard/thingsboard-python-rest-client . The purpose of this fork is to make package dependencies (in version 3.9.0) not fixed to specific version as in the original package, but set to reflect the requirements.txt configuration (example: certifi >= 2023.7.22 instead of certifi == 2023.7.22 in the original package)

All credits to the authors of the original package.

Below follows the original readme

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


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_fork-3.9.1.tar.gz (924.5 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_fork-3.9.1-py3-none-any.whl (2.6 MB view details)

Uploaded Python 3

File details

Details for the file tb_rest_client_fork-3.9.1.tar.gz.

File metadata

  • Download URL: tb_rest_client_fork-3.9.1.tar.gz
  • Upload date:
  • Size: 924.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.1

File hashes

Hashes for tb_rest_client_fork-3.9.1.tar.gz
Algorithm Hash digest
SHA256 a203ce4b19c99370877e346d3cbfd18b7b858091351fd6c98d4ed0bfa3a28642
MD5 cd35add7932791202d2388e677fb3545
BLAKE2b-256 e049ba064c575cfd774e0768477babb1a6fdfb34e984f2cf46999a8c990df22b

See more details on using hashes here.

File details

Details for the file tb_rest_client_fork-3.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tb_rest_client_fork-3.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7fb6714f22c1835134cd9ee481933d746e1ca5fe25698f735ccb5c17e55c2408
MD5 00b5c9681e00313f46db3508e3da47d5
BLAKE2b-256 9c8743a7bc271e97aaf1768a174db11205a43570c3109db8469afd87fc70877f

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