# InfluxDB example or library

**URL:** https://discourse.processing.org/t/influxdb-example-or-library/32227
**Category:** Libraries
**Created:** [September 13, 2021, 10:27am UTC](https://discourse.processing.org/t/influxdb-example-or-library/32227 "2021-09-13T10:27:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jhdgkss](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jhdgkss](https://discourse.processing.org/u/Jhdgkss)
#### Post date: [September 13, 2021, 10:27am UTC](https://discourse.processing.org/t/influxdb-example-or-library/32227/1 "2021-09-13T10:27:28Z")

</div>

Hi all. Is there a library or code example for use of processing with influxDB? From a remote web address.

I know influxDB does support Rest API. But not sure how to implement this in processing.

Example code would be fantastic.

Thank you.

---

<div class="post-metadata">

### Author: ![micuat](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/micuat/32/19407_2.png) [@micuat](https://discourse.processing.org/u/micuat)
#### Post date: [September 13, 2021, 5:06pm UTC](https://discourse.processing.org/t/influxdb-example-or-library/32227/2 "2021-09-13T17:06:12Z")

</div>

hi! welcome to the forum! they seem to have a java client library

> **[GitHub - influxdata/influxdb-client-java: InfluxDB 2 JVM Based Clients](https://github.com/influxdata/influxdb-client-java)**
>
> InfluxDB 2 JVM Based Clients. Contribute to influxdata/influxdb-client-java development by creating an account on GitHub.

is your objective to send data to the database, or retrieve the data for visualization (or both)?

I’m super lazy person so I would simply use node.js with influxdb npm package and use websocket or OSC to send data from processing.

---

<div class="post-metadata">

### Author: ![Jhdgkss](https://avatars.discourse-cdn.com/v4/letter/j/c37758/32.png) [@Jhdgkss](https://discourse.processing.org/u/Jhdgkss)
#### Post date: [September 13, 2021, 7:29pm UTC](https://discourse.processing.org/t/influxdb-example-or-library/32227/3 "2021-09-13T19:29:51Z")

</div>

Hi thank you for your reply.  
I want to read from influxdb and use processing to visualize data.
