Registry / http-client / grafana-grafana-api-golang-client

grafana-grafana-api-golang-client

JSON →
library0.27.0gogounverified

Go client library for the Grafana API, including SLO types.

go get github.com/grafana/grafana-api-golang-client
INSTALL
IMPORT
SIG · GRAFANA-GRAFANA-AP
G
grafana-grafana-api-golang-client
http-clientgov0.27.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

grafana
github.com/grafana/grafana-api-golang-client

Creates a Grafana client and fetches organization info.

package main import ( "fmt" "github.com/grafana/grafana-api-golang-client" ) func main() { client, _ := grafana.NewClient("http://localhost:3000", "api-key") org, _ := client.Org() fmt.Println(org.Name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.27.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
grafana-grafana-api-golang-client — go get grafana-grafana-api-golang-client · libregistry