Yearly aggregated stats CREST endpoint coming soon

Right now in Reykjavik CCP Quant and CCP FoxFour are in the middle of a presentation, and they are showing a new CREST endpoint, which returns aggregate statistic data for your characters. For example, you will now be able to see how much damage your toon dealt last year, and how that compares to a year before! Of course this applies to a range of possible metrics, including, but not limited to:

  • number of ships built
  • number of BPOs researched
  • number of pod kills in wormhole space
  • number of characters typed in chat
  • number of stargate jumps in high security space
  • damage your character dealt with projectile weapons
  • number of times your toon was tackled
  • many, many more

Ready to see how you did in 2014?

Just open this page and follow instructions: https://pozniak.pl/yearly-stats (by the way this app is mobile device friendly).

slack_for_ios_upload_1024 Screenshot_2015-03-18-14-20-25IMG_1818 IMG_1820

Feel free to check Bellatroix and Aaeriele projects as well. They have pretty graphs!

Technical details

A few weeks before Fanfest 2015, CCP FoxFour asked on forums if there are any third party devs who would be willing to work on a “secret project”. Few familiar faces turned up, and after some time three web apps have been built:

pasted_image_at_2015_03_17_03_20_pm_1024

Unfortunately due to RL I was only able to work on my prototype app for several hours, but it has the core functionality of showing the most interesting statistics in a readable way 😉

Now speaking about the technical details, this new endpoint will be available as authenticated CREST, which means you have to use SSO mechanism first to obtain a Bearer Token (see this news item about authenticated CREST for reference). Only then it is possible to access these new endpoint on the CREST API server. Data itself is returned as a JSON object, so using it in JavaScript and PHP is trivial.

The URL where the data is stored looks like this:

https://<CREST_API_SERVER>/characters/<characterID>/statistics/year/<year>/

where CREST_API_SERVER is either api-sisi.testeveonline.com or api.eveonline.com,

characterID – is the ID of the character (obtained from SSO process)

year – is either 2013, 2014 or 2015 (only these three years are available)

If everything goes fine, you will get a JSON file like this one:

{"combatDeathsPodTotal": 0,
 "combatDamageFromPlayersFighterMissileNumShots": 0,
"combatWebifyingPC": 0,
"socialAddedAsContactNeutral": 0
...}

Once you have the data it’s up to you how you want to display them.

4 thoughts on “Yearly aggregated stats CREST endpoint coming soon

  • March 20, 2015 at 09:48
    Permalink

    This is so cool. Spent an hour looking at my stats. Leaning towards Bellatroix’s display.

    • March 20, 2015 at 19:59
      Permalink

      Hehe me too. I had little time to work on it. And Bella got pretty graphs!

  • March 30, 2015 at 09:18
    Permalink

    Well, the year-in-review statistics seem to count as low-sec systems the rounded-up 0.5 security systems (0.48 real security makes them 0.5 high-sec in the game, but on the statistics they count as low-sec systems).
    I could be wrong, but I can’t find any other explanation for the gross difference in one of my alt’s report: he has scarcely left high-sec but is reported to have spend most of his travels at low-sec

    • March 30, 2015 at 11:16
      Permalink

      CCP is aware of this issue. It is supposed to be fixed when this endpoint goes live on Tranquility.

Comments are closed.