outside-edge / python-espncricinfo

Python wrapper for the ESPNCricInfo JSON API
MIT License
144 stars 65 forks source link

Rewrite/update Match class #60

Open dwillis opened 12 months ago

dwillis commented 12 months ago

Is your feature request related to a problem? Please describe. Cricinfo has added JSON APIs that provide additional information and data that would be useful to have. At the same time, the existing Match class is too brittle and probably contains too many methods that aren't very useful.

Describe the solution you'd like Add support for additional data available through newer API endpoints (example here), remove any existing methods that no longer work and in general make the Match class slimmer and more maintainable. The batting & bowling stats should not rely on the existing comms_json method.