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).
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:
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.