estiens / world_cup_json

Rails backend for a scraper that outputs World Cup data as JSON
928 stars 107 forks source link

show next game on /current feed when no game is on #209

Closed mrmay-dev closed 1 year ago

mrmay-dev commented 1 year ago

Just a thought. When there is no "current game" being played maybe the feed could display basic details for the next game.

Cheers.

pedsm commented 1 year ago

I see why you are asking for that (because my front end would also benefit from it) but I think that should be calculated by the front end using the /today endpoint.

estiens commented 1 year ago

@mrmay-dev: I don't want to break that endpoint because I know in the past people have used any return from that endpoint at all to do something about match in progress

mrmay-dev commented 1 year ago

Makes sense.