Show HN: World Cup API for 2018
worldcup.sfg.io
worldcup.sfg.io
2018-06-14T17:00:00.000-05:00
Moscow is GMT+3, and kick-off is 18h local time (i.e. 15h GMT). Not sure what combination of stuff has gone wrong there!
Everything should be working in real time for tomorrow's games. Real time goals, matches marked completed after they are officially over, and an event stream of goals, subs, and cards.
Sorry for delay, hard to scrape data until it actually exists, and besided the 50+ emails I got in the past few months asking me to make it work for 2018, I was the only one making PRs ;)
Should be good to go for tomorrow, please file a github issue if you see any problems.
This feed (although updated each minute) is not reflecting the score. Also the current game endpoint is empty.
As one poster has pointed out the timezone setting are wrong which could be why.
Should be working now for the next games. First day is always a bit of a mess.
- did you ask permission? Did you feel you had to?
- do you have problems with sites accidentally/deliberately breaking your parsing code?
https://getdata.io/data-sources/5470-football-statistics-foo...
Will update again once I got another API setup for StatsZone when ready.
By the way, how often do you guys need data refresh for? Once I get some feedback I could tweak my app to increase the number of frequency.
Also please do ping me if you want to register your webhooks. My app only supports only one webhook per API at the moment. I will try to get it properly extended so that all your webhooks can get registered.
My email address is garyjob@getdata.io
All the best with your API this World Cup!
It should however be 17:00 for CEST (UTC +2)
https://getdata.io/data-sources/5471-fifa-world-cup-fourfour...
I will check again to see if there are any new data once the match starts and then create an API for those too.
https://gist.github.com/dmlittle/9733711dcfa638b304884198d75...
And then: watch -n 60 worldcup today
And just make the font in the terminal window huge :)
pip2 install worldcup # didn't like Python3
watch -cn 60 worldcup today # -c for colours
Also the time handling seems wrong - it claims Russia vs Saudia Arabia will be "9 hours from now" except it kicks off in 2.5 hours...Events and status changes and goals should all update in realtime now.
Internal Server Error?
I was expecting 404 in the worst case, but parameter case conversion (upper to low and vice versa) would be a better solution.
https://gist.github.com/int9h/83373326174ce8dab25a333a9c36f0...
This server could not prove that it is
worldcup.sfg.io; its security certificate
is from *.herokuapp.com. This may be
caused by a misconfiguration or an
attacker intercepting your connection.It might look like a funny experiment/excercise for someone at Google.
[0] - https://en.wikipedia.org/wiki/World_Football_Elo_Ratings
If someone has reversed it and could share any documentation, pls write in comments