Cogent DataHub APIs

Connect custom programs

The DataHub APIs are a fully open set of application development interfaces that allow you to connect custom programs to the Cogent DataHub™ software, using DHTP. These APIs are provided with both object code and source code examples and set out a very simple set of commands that allow you to both read and write data to the DataHub. The DataHub architecture allows each custom program to exchange data with every other application connected to the DataHub, regardless of protocol.

datahub custom-connections diagram

Python API

The DataHub™ API for Python is a Python implementation for connecting to Cogent DataHub software in real time over TCP. It is available in GitHub. Please see the README.md file for more information.

C++, .NET and Java APIs

Each of these APIs lets you write programs in that connect to the DataHub over TCP. The DataHub API for C++ is for connecting C++ programs. The DataHub API for Java lets you connect programs written in Java. The DataHub API for .NET is implemented in C#, but can be used with any .NET language. These are all documented here.

Direct TCP and other connection options

If these APIs do not meet your needs, it is also possible to to send DataHub commands directly to a DataHub instance, and exchange data, using a bi-directional TCP socket.  This option is documented here.

Other connection options include the DataHub Web Server and the Embedded Toolkit (ETK).

Licensing

These DataHub APIs do not require a license. However, if you create programs using them, or if you send DataHub commands using TCP, each concurrent connection to the DataHub requires its own TCP Link License.

More Information

For more information please view our online documentation.