There are several options to communicate with ThingsDB. The easiest option is to use an existing connector.
The following connectors are available:
Language | Query/Run support | Room (event) support |
---|---|---|
Python | ✔ | ✔ |
Go | ✔ | ✔ |
C# | ✔ | ✔ |
PHP | ✔ | ✔ |
JavaScript / Node.js | ✔ | ✔ |
HTTP (API) | ✔ | - |
For other languages you can read the socket protocol section on how to implement a ThingsDB connector.
As an alternative to the socket connection, a ThingsDB node has support for HTTP requests through an HTTP API.