I found that what I am trying to do was already done by:
I cant speak much on your main issue, but im the maintainer of ogsapi, and you are correct that it requires an account, thanks for mentioning it, i hadnt considered unauthed requests. I can try and see about updating in the next few days to allow for the requests that dont require auth to be called.
Is the point of your project to learn how to make these API queries or just to do data analysis on a large dataset? Does the dataset need to include practically all available games up to now? Or would just a ton of games up to late 2021 suffice?
If the latter is the case for both questions, maybe this would be helpful:
Thank you as well. Actually from the Got Stats? project, I can download a json file. And that json file is what I need for further analysis. And I am good to go using that json file. I can use python → json module for all kinds of data manipulation.
However I didn’t know - and still don’t know - how to get that file. Like @flovo has mentioned, I don’t know how to query the API using python. If I want to get a full game record, how? Elif I just want a sub list of certain year? Elif I want a record of player’s rank history? etc. So the question remains on the query side, while I think I have progressed quite a lot in the data analysis side.
Wow, that’s exactly what I need. Wish there is a documentation about different kinds of queries and brief explanations like you did. I looked long and hard before deciding to post here cuz I don’t want to trouble people if I can find them. Thank you!
P.s. can you point me to where I can find “termination” related docs?
Main thing to note here is this is the same API that OGS’s front end is using. So basically anything that can be done on the website, it can be done via one of these API. In fact I think anoek made this with the intention to support developers of mobile apps.
Unfortunately we don’t have full params list for each API so much of the work is reading the FE’s source code and/or guess work.