I am new to APIs, new to CS in general. I am trying to get data from an API for a game I enjoy but I am getting very lost

I am going to use the template provided but briefly I will say that I tried to search for a Discord community or something to hopefully have a conversation but I had no luck. I am floundering inside the documentation, it is over my head.

  • What Grafana version and what operating system are you using?

  • What are you trying to achieve?
    Path of Exile is a video game that has an API. A 3rd party website uses that data to create market data. That api is located at poe.ninja I am trying to get this information into Grafana so that I can visualize and manipulate it to generate things like profit margins on trades in the game or combine multiple different parts of data into one piece of information like a commonly used item in the game and various market information about it.

  • How are you trying to achieve it?
    So far I am able to use Insomnia REST to somehow get information from some URLs like “https://poe.ninja/api/data/getindexstate?” and “https://poe.ninja/api/data/currencyoverview?league=Sanctum&type=Currency&language=en” I can view what is sent back from the GET request but so far my attempts at getting this data returned to me inside of Grafana has failed. I have tried using the HTTP API plugin and the SimpleJson plugins but to be honest I am not sure how to configure them in a way that gets me the information I am looking for. When I add the data source and then hit explore and runs queries it returns nothing. I am positive this is user error. It seemed like it would be a simple task when I found Grafana on YouTube but I can’t even get started.

  • What happened?

  • What did you expect to happen?
    I expected to get spreadsheet like information in grafana that I could interact with.

  • Can you copy/paste the configuration(s) that you are having problems with?
    I am not sure it is even starting the process so I doubt it’d be helpful.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

In fact… I am not even sure if I am using the right tool for the job. Taking something like data from an API and then interacting with it SEEMS like it should be easy and yet I am clueless.

Holy crap I made progress using the Infinity plugin

1 Like