# 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
[Community chat](https://gitter.im/thingsboard/chat)
[Q&A forum](https://groups.google.com/forum/#!forum/thingsboard)
[Stackoverflow](http://stackoverflow.com/questions/tagged/thingsboard)
Don’t forget to star the repository to show your ❤️ and support.
## Licenses
This project is released under [Apache 2.0 License](./LICENSE).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tb-rest-client32-1.2.tar.gz.
File metadata
- Download URL: tb-rest-client32-1.2.tar.gz
- Upload date:
- Size: 261.7 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4918bdc4152f2eb0ce3e69b7a18ceb1b12791a35d9834c8c6bab00c5aa50e480
|
|
| MD5 |
217d39601e957480d848a760274bdfec
|
|
| BLAKE2b-256 |
5af84a960592b02f8a1802debc79935025fe5d5c4ed380a339291441209b4243
|