bertiewhite / cricwatch

1 stars 1 forks source link

Introduce mechanism for trying different caches #3

Open bertiewhite opened 11 months ago

bertiewhite commented 11 months ago

I think I've worked out that the url is:

https://site.api.espn.com/apis/site/v2/sports/cricket/<cacheid>/summary?event=<eventid>

And you can effectively ping multiple caches. I need to work out a way to try different caches when a cache goes stale or polling multiple and chosing the latest. The exact mechanism will probably require some experimentation but already in the Ireland England ODI there's been a few times the score reported by cricwatch has been 5 out of date. An over or 2 is totally fine any more than that is not great.