So I’m sure we all know how slow Robot Events can be sometimes if you’re attempting to get lots of data, as well as the fact that it’s often hard to get the information you’re looking for when doing statistics / analysis.
Anyway, without any further explaining, I’m pleased to announce my latest creation for people to use, an (almost) Robot Events API.
It works by scraping data from Robot Events periodically (through HTML and the CSV files), keeping all of it in a database, and creating an API that accesses that database. So know that this isn’t directly interfacing with Robot Events, but does enable quite a lot more nice information to be gathered.
Documentation (with examples) is available through the link posted above, and feel free to ask any questions in the thread.
There are a couple of things to note:
- At the moment the database is only updated every 2 minutes, but I might bring it down to 1 minute depending on how things go.
- The API is currently completely public but if demand is crazy I may implement a more closed system for those who want it (I’ll make an announcement if I do).
Also, other things that I’ll look at implementing soon:
- “Last changed” times for events.
- Push Notifications for changes.
Any other suggestions are completely welcome, whether you have another kind of ranking method you want implemented other than TRSP, or another way of filtering results, all are welcome!
Also, on a kind of related note, the rest of that site that the API is hosted on (http://vex.us.nallen.me/) uses the same data as an example of how extra links (events by team, etc.) can be created and used. This site is still being worked on a bit (ie. the Team Info page is a bit lacking), and was started before the other (better) scouting databases were created so it might not be terribly useful, but oh well!
I hope that at least someone finds this API useful and enables a lot more great websites that do statistics or analysis on teams / games / events / whatever!