I am not sure what the reason is for the problem you have pointed out, but it is possible that you are correct. For that reason, and because it is likely in a cleaner format, I think this API may be a better source to use: https://aoe2.net/#api
I managed to get things working. I can get some data and make it readable (convert text string to some tables). I just notice something: Player Match History in aoe2.net contains lots of statistics about the players, lobby settings, civs, … It seems like it does not contain info about how win and how lose?!
I assume that GetGameServerPlayerStatsForGame might be the one being used, but unfortunately I could not confirm it yet since I currently don’t have a publisher api key. Anybody has insight into this?
Also I could not find any example response and there is not enough documentation to find out what the API actually does.
I’m trying to build something here with this: https://aoe.pira.dev
If you put your profile ID in that page you will get some stats (your profile ID can be obtained from aoe2 .net, I’m still trying to get some sort of search functionality).
Any more info on more endpoints or where does aoe2 .net get’s it’s data would be awesome, thanks!
Do I need a sort of auth to get access to the api? It seems to work for some and for some not. Would be nice to have access to it so people can build more tools, since aoe2.net is already down for several days.