API: Get sourceID from name / from ranking


I am trying to extract data from WLogs, in order to build a spellDistribution vs. rank chart (ie. does higher ranking players do more damage from all spells, or does the distribution change).

I am therefore trying to query the damage done in some reports, however, I can’t get it to work.

Indeed, in the ‘report’ controller, the ‘event’ action is working fine:

same thing for the ‘fights’ action:

However, the ‘tables’ event does not seem to yield any results:

There is no error message, just an empty array:

    "entries": [],
    "totalTime": 0

Could you please help me figure out what is happening?

You need to specify a start and end time.

My bad, I overlooked this in the documentation.
Works fine when an end time is specified, thanks a lot :slight_smile:

I have now completed my project, and I’d like to thank you for your help.

WLogs is a great tool, and the API makes extraction very easy, in order to improve other WoW related tools (in this case, Ask Mr Robot http://forums.askmrrobot.com/t/an-issue-with-sasszine-script-and-elemental-shamans/1412/3).

The API is remarkably easy to use, and very well documented, as a thank you, I became a Patron.