slehkyi / notebooks-for-articles

Repository with random scripts and IPython Notebooks that I use to write my articles
http://sergilehkyi.com
22 stars 15 forks source link

Understat - stats per player, per match #2

Closed luistelmocosta closed 3 years ago

luistelmocosta commented 3 years ago

Hello, have you ever consider doing what you did, for each team but for every player throughout all those seasons?

I am trying to do it but I am having an hard time due to the pagination of the table. Any chance you can help me with a quick example for just one player?

Kind regards and thank you for your work!

slehkyi commented 3 years ago

I have already had some requests regarding the player data - will try to find some time and scrape that data too.

Meanwhile, if you're having problems with pagination, try to find REST calls and get the data using them. When I was collecting data for the teams I didn't think about it, but this method might be much easier.

Cheers!