InfluxDBClient

public class InfluxDBClient

A InfluxDB Client providing a support for APIs to write and query data.

Example:

let options: InfluxDBClient.InfluxDBOptions = InfluxDBClient.InfluxDBOptions(
       bucket: "my-bucket",
       org: "my-org",
       precision: .ns)

let client = InfluxDBClient(url: "http://localhost:8086", token: "my-token", options: options)

...

client.close()