It is possible to extract png/jpg images of panels through the API and Python?

Hey, thanks for the detailed answer, I will try to answer it in parts.

you probably can but wouldn’t something like matplotlib be better in your case? I guess most datasources would provide some kind of query API without the need of Grafana in between.

I did all this first as you say here. With matplotlib taking data directly from the datasource. I was told that it was preferable to get graphs as seen in the Grafana dashboard, unfortunately.

  1. Dashboard creation

and

  1. Variables in dashboard

The dashboards are already done. They are dynamic (if I understand well what this means), the data received in these are refreshed from time to time. There are three of them, and in each of them there is a panel that interests me. These panels are line graphs, which have different equipment as variables (again, if I understand what you mean by variables: different sets of data to be plotted that mean the same thing but come from different sensors). In this sense, each panel has two variables to select, is that understood?

It is a bit difficult for me to express myself in English.

  1. Screenshots

Too bad, I put my faith in that plugin to solve my problem.

I tried Selenium and felt that I was overcomplicating the process (thinking, again, that the solution was the API or Plugin). It seems to be the only solution I have left.

From what I understand then, with the API there is zero chance of getting a jpg/png file from a specific panel?

The answers to these questions confused me:

They dont use Python, but appears to get panels images programatically.