m0nhawk/grafana_api

Suggestion for Improvement "get_dashboard_by_name"

luixx opened this issue · 1 comments

luixx commented

Is there a possibilty you could add the following code to the next release please?

def get_dashboard_by_name(self, dashboard_name):
        """

        :param dashboard_name:
        :return:
        """
        get_dashboard_path = "/dashboards/db/%s" % dashboard_name
        r = self.api.GET(get_dashboard_path)
        return r
amotl commented

Dear @luixx,

thank you for your suggestion. We recently forked this repository to 1, see #88. Can you imagine submitting a pull request there in order to bring your improvement into the subsequent release?

With kind regards,
Andreas.

Footnotes

  1. https://github.com/panodata/grafana-client