InfluxDB2API

public class InfluxDB2API

InfluxDB2API providing a support for managements APIs.

Example:

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

api.healthAPI.getHealth { (response, error) in
   if let error = error {
       print(error)
       return
   }

   if let response = response {
       dump(response)
   }
}

client.close()