Python code to retrieve your own statistics

Hi,

There exists a couple of website where you can see the winrate by civs and by maps, but not your own winrate. That is why I decided to make my own Python code that does exactly this on the 1v1 rm ladder. You can find my code here : https://github.com/sagau59/Aoe2-stats/blob/master/Age%20of%20Empires%202%20player%20stats.ipynb

Unfortunately, on the aoe2.net api, the "won" info is not always feeded. In fact, I think the api started giving the "won" info just recently, so that is why if you try it for yourself you will see probably just few games.

For my code to work, you need your profile_id. Its an info you can find easily by going on your profile on aoe2.net.

I think it can help you as a player to see theses stats. For example, I know I need to work on my MegaRandom game, since my winrate is pretty awful. Also, I should probably stop playing Magyars since I don't seem to be that good with them.

I'm not a Python developer, so if you have any tips to give me so that I can improve my code, feel free to do so!

Enjoy!

submitted by /u/SamuelGauvreau
[link] [comments]

from newest submissions : aoe2 https://ift.tt/2Zxso2U
No comments

No comments :

Post a Comment