I’m trying to obtain a specific user’s HP state as shown on this page:
Although the page is accessed via a URL, the API query is made using GraphQL. I noticed that when setting dataType: Resources for the graph or table in the reportData-report, no data is returned. It seems that events is necessary instead.
I made a GraphQL query using sourceID: 3 (for the mage) based on the URL parameters, but I’m not receiving any data. How can I retrieve the Resources for a specific user?
ex)
graphql
{
reportData {
report(code: “2TDjkMqYv7FaLmJH”) {
events(
dataType: Resources
fightIDs: 2
startTime: 5577360
endTime: 5731105
sourceID: 3
includeResources: true
) {
data
}
}
}
}