Skip to main content

Grafana API wrapper/Very basic Grafana API client library.

Project description

Very basic Grafana API wrapper. Supports Grafana v2.1.0

Usage:

>>> client = GrafanaClient(("admin", "admin"), host="127.0.0.1", port=3000)
>>> client.org
    {"id":1,"name":"Main Org."}
>>> client.org.replace(name="Your Org Ltd.")
    {"id":1,"name":"Your Org Ltd."}
>>> client.dashboards.db.create({"dashboard": {...}, "overwrite": false})
    {"dashboard": {...}, "overwrite": false}

Please refer to the [Grafana API Documentation](http://docs.grafana.org/reference/http_api/) for a list of available methods.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

grafana_api_client-0.1.4.tar.gz (3.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page