flareio
package provides the NewApiClient
method that can be used
to create a Flare API client.
The client exposes Get
and Post
methods that have a similar API to net/http.Client
with the exception that they accept paths as parameters instead of full URLs.
WithTenantId
option.
ApiClient
has IterGet
and IterPostJson
methods that return iterators implementing the
Flare standard paging pattern .