age-of-empires-II-api icon indicating copy to clipboard operation
age-of-empires-II-api copied to clipboard

Should data be updated manually in csv files or we have an API we can refer to and get latest data?

Open VigneshVaidyanathan opened this issue 3 years ago • 5 comments

Hey,

I really like the structure of the data provided from the API and I could see few things are not updated with regards to the latest patches. Just wanted to know if we need to manually modify the CSV when changes are pushed as patches or did you use any API to actually get the data and format it in this way?

Im trying to build a quick Tech Tree app 🤷 so just wanted to know how data would be updated here so I can use it.

Also, really cool feature I like is the applies_to and the develops_in properties. Its good to have those extra pointers but again, was that derived from any source?

VigneshVaidyanathan avatar Jun 10 '21 05:06 VigneshVaidyanathan

Yes, the data is static! I just extracted it from https://aoestats.io/

aalises avatar Jun 11 '21 14:06 aalises

Do you think this can be automated? I tried to find the data from https://aoestats.io/ but it has only match data. I am curious to know if you had any backend service running to parse the raw data into the form you are using from the CSV or is it something we can get from somewhere.

Also, how difficult is it to update the details, I would like to help but I am not sure how to get anywhere.

I want to see this applies_to data mainly in a Tech tree format so it can be widely used for beginners to know what techs will affect which units/buildings.

VigneshVaidyanathan avatar Jun 11 '21 18:06 VigneshVaidyanathan

I too am wondering where you got the rest of the data from as on aoestats.io I can only find the player-match data and nothing relating to civs, units or tech.

Really interested in this API and would love to expand upon it, just struggling to find a starting point

kprkr avatar Sep 09 '21 20:09 kprkr

What about this https://github.com/SiegeEngineers/aoe2techtree/blob/master/data/data.json or https://github.com/SiegeEngineers/halfon/blob/master/data/units_buildings_techs.de.json

simonsan avatar Nov 24 '21 08:11 simonsan