outside-edge / python-espncricinfo

Python wrapper for the ESPNCricInfo JSON API
MIT License
146 stars 64 forks source link

[FeatureRequest] Scraping every scorecard for a given format or team #34

Open OwenThomas opened 4 years ago

OwenThomas commented 4 years ago

I am a statistician interested in cricket, interested in making general claims across entire formats of the game (i.e. including Test cricket game ever, for example). Would it be possible to use python-espncricinfo to scrape every scorecard from every test match, for example? It is around 2,000 in total, which is more than is worth doing by hand, but not so scary if we can automatically generate every match_id for every test match, for example. If another resource is more appropriate for this type of bulk analysis then I am happy to hear of it.

dwillis commented 4 years ago

Hi @OwenThomas - my apologies for the late reply, but yes, it should be possible to do that. I've used the library to pull summary information from every test match.

prasanna-sk commented 3 years ago

I am a statistician interested in cricket, interested in making general claims across entire formats of the game (i.e. including Test cricket game ever, for example). Would it be possible to use python-espncricinfo to scrape every scorecard from every test match, for example? It is around 2,000 in total, which is more than is worth doing by hand, but not so scary if we can automatically generate every match_id for every test match, for example. If another resource is more appropriate for this type of bulk analysis then I am happy to hear of it.

Hi Owen

I am building something along the lines described My interest is more towards ball-by-ball commentary though. So, it is definitely possible.

sagarpanda09 commented 1 year ago

Hi Can anyone advice on how to get all possible scorecards as I see there's no scorecard function ?