EnsembleStudios stats API

This is for discussions about the community, players, forum games, grudge matches, memes and everything else related to ESOC and its members.
Belgium arnevdb0
Crossbow
Posts: 2
Joined: Dec 28, 2016
ESO: arnevdb0

EnsembleStudios stats API

  • Quote

Post by arnevdb0 »

Hi all, im Arne and i joined a while ago. I'm mostly a lurker, but im pretty active on Age of Empires these days. I noticed there was a new ELO ladder, which is really nice. I used to use the one at jpcommunity a lot, for fun.

Im also a PHP developer, and i wanted to built a little stats page/site, just for fun. But i'm wondering, where do you guys get the information from. I've searched the web a bit, and i couldn't find any information about the existance of an API that ensemble studios has for the game statistics. I've read on stackoverflow that people normally just parse the HTML from the individual stats pages; such as : http://www.ensemblestudios.com/stats/EntityStats.aspx?loc=en-US&EntityName=Arnevdb0&sFlag=2&md=ZS_Supremacy.

While thats not really a nice way to do it, so far its the only option i came across. But there's one problem, i cannot find the PR rating anywhere on one of those pages. So since the ESOC ELO ladder sometimes shows PR rating, im wondering, is there an API thats usable ? Or what kind of magic are you using to gather this data ?
User avatar
Canada _NiceKING_
Retired Contributor
Donator 01
Posts: 1795
Joined: Sep 16, 2015
ESO: _NiceKING_
GameRanger ID: 9999999
Clan: Xbox

Re: EnsembleStudios stats API

  • Quote

Post by _NiceKING_ »

You can find lots of player info here (including PR): http://www.agecommunity.com/query/query ... b0&md=user
User avatar
Brazil lemmings121
Jaeger
Posts: 2673
Joined: Mar 15, 2015
ESO: lemmings121

Re: EnsembleStudios stats API

Post by lemmings121 »

_NiceKING_ wrote:You can find lots of player info here (including PR): http://www.agecommunity.com/query/query ... b0&md=user

http://www.agecommunity.com/query/query.aspx?g=age3y

uhmmm aparently the average aoe3 game time is 21 minutes. interesting.
Image
Belgium arnevdb0
Crossbow
Posts: 2
Joined: Dec 28, 2016
ESO: arnevdb0

Re: EnsembleStudios stats API

Post by arnevdb0 »

Oh my god, awesome, thanks ! Is there something docs about that, like all possible URLS and parameters ?
User avatar
France Rikikipu
Retired Contributor
Posts: 1679
Joined: Feb 27, 2015
ESO: p-of
Location: In your base

Re: EnsembleStudios stats API

Post by Rikikipu »

Hey @arnevdb0 if you are motivated and got time, think about joining us !
User avatar
Netherlands edeholland
ESOC Community Team
Donator 01
Posts: 5033
Joined: Feb 11, 2015
ESO: edeholland
GameRanger ID: 4053888
Clan: ESOC

Re: EnsembleStudios stats API

Post by edeholland »

Hey neighbour, welcome to ESOC, I hope you find the questions and answers here you are looking for :) If you are interested in working with our developers and making pages for ESOC, send a PM to me or one of the other staff members. Perhaps we even can link or host your simple stats page.

Who is online

Users browsing this forum: No registered users and 4 guests

Which top 10 players do you wish to see listed?

All-time

Active last two weeks

Active last month

Supremacy

Treaty

Official

ESOC Patch

Treaty Patch

1v1 Elo

2v2 Elo

3v3 Elo

Power Rating

Which streams do you wish to see listed?

Twitch

Age of Empires III

Age of Empires IV