TL;DR InfluxDB Client Libraries
By
Susannah Brodnitz /
Product, Use Cases
Jul 08, 2022
Navigate to:
InfluxDB is very powerful for working with time series data, but learning to use any new tool can be intimidating. The fear of a steep learning curve can delay or even prevent people from using new tools that would ultimately make things easier and more efficient. Fortunately, InfluxDB has over a dozen client libraries so you can work with InfluxDB using a language you already know.
The benefits of InfluxDB’s client libraries
The InfluxDB REST API is the basic way to control InfluxDB. But to make things simpler, there are 14 different client libraries to help you write clean, simple code. These client libraries cover the most popular programming languages, including Python, Java, Go, and many more. The three key things you can do using client libraries are writing data to InfluxDB, querying that data, and database administration. All of these tasks are important to get right, and by using the best language for your specific project, you can focus on the quality of your code rather than learning a new language before you can even get started.
Specific tools and examples
Another benefit of using InfluxDB’s client libraries is that there are lots of built-in tools to make processing data simpler. For example, the Python client library has a built-in way to process Pandas DataFrames. And these libraries can also help process common data formats like JSON files and dictionaries. In the same way that using a familiar language meets you where you are from a development perspective, the built-in data processing capabilities of InfluxDB’s client libraries meet data in the form it’s already in to get it in the right format for InfluxDB.
It’s very simple to get started with InfluxDB client libraries. The basic setup is to specify a URL, organization ID, and authentication token so you can call InfluxDB and write data to a specific bucket. Here’s a blog post about getting started with Python, here’s one for Java, and here’s documentation on all 14 different libraries. Working with InfluxDB in a language you choose lets you convert data more easily and write the best code for your project.
Check out this video to learn more.