Closed stuliston closed 11 years ago
@mikemortimer requested the developers at http://racquet.io/hooroo give us a public endpoint that we can query for results. Blocked waiting for their help.
Robbie from Racquet.io came up with the goods:
Hi Mike,
I added a super basic API for matches. Check out this endpoint:
http://racquet.io/hooroo/matches.json http://racquet.io/hooroo/matches.json?limit=20 http://racquet.io/hooroo/matches.json?limit=10&offset=10
It's close to what you had with a few minor additions. I've added the points we awarded for the match, game_id is match_id as just to match our team lexicon. I've also added top level meta data like match count, limit and offset supplied which can be used for basic pagination.
Limit default is 20, default offset is 0, matches are ordered by newest match at the top.
Let me know if this works for you and if you have any feedback.
Cheers
Robbie
Should be done, bitches
As a mingpong player, I'd like points and badges awarded for victories