outside-edge / python-espncricinfo

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

Fix Summary constructor #32

Closed scrambldchannel closed 3 years ago

scrambldchannel commented 4 years ago

I had a bit of a hack at this, it's not very elegant but seems at least parse the rss feed of current matches and creates a couple of instance attributes - one to give a list of match ids (as strings) and a dictionary with the match ids as key and urls and descriptions for the matches.

Note I remove the match method because I wasn't really sure what it was supposed to return as I wasn't sure what the old json document held.

edit - addresses the issue with summary.py raised as part of https://github.com/dwillis/python-espncricinfo/issues/28