Skip to main content

# ThingsBoard Python REST API client

The ThingsBoard REST API Client helps you interact with [ThingsBoard REST API](https://thingsboard.io/docs/reference/rest-api/) from your Python script. With [Python Rest Client](https://thingsboard.io/docs/reference/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:

`bash pip3 install tb-rest-client `

##### Examples

You can find the examples of the usage in the “examples” folder or on the [our website](https://thingsboard.io/docs/reference/python-rest-client/).

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_client32.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_client32.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](./LICENSE).

Metadata

Release files for tb-rest-client32 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tb-rest-client32 1.2
File Size Uploaded Provenance
tb-rest-client32-1.2.tar.gz 261.7 kB Without provenance Details

Release files / tb-rest-client32-1.2.tar.gz

Download URL tb-rest-client32-1.2.tar.gz
Size 261.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4918bdc4152f2eb0ce3e69b7a18ceb1b12791a35d9834c8c6bab00c5aa50e480
BLAKE2b-256 checksum
How to use checksums
5af84a960592b02f8a1802debc79935025fe5d5c4ed380a339291441209b4243
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5

Security for tb-rest-client32 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page