•   almost 3 years ago

API calls for team rankings

GET /team_rankings/

Parameters

team_ids array[string] (query) *required IDs of tournaments to return ranking for
In Here what if a team doesn't participate in a given tournament? Should we rank the team or exclude it from the list?

  • 3 comments

  •   •   almost 3 years ago

    For ranking teams within a given tournament, then only teams that are participating should be included from the list. That is, teams that aren't participating should excluded. Hope that helps!

  •   •   over 2 years ago

    For the parameters can you clarify what is the input? An array of team_ids (so like if c9 is 123, 123 is in the input array) or array of tournament IDs and we return a list of all teams that participated (so worlds 2022 is 456, 456 is in the input array)?

  •   •   over 2 years ago

    Hi Jimmy - Apologies for the delayed response, I totally missed the notification here.

    Please review this API submission details doc for information about inputs and expected outputs - https://docs.google.com/document/d/1Klodp4YqE6bIOES026ecmNb_jS5IOntRqLv5EmDAXyc/edit

    For GET /team_rankings/, the input would be an array of team_ids, output team rankings. For GET /tournament_rankings/{tournament_id}, the input would be an array of tournament ids, output team rankings.

Comments are closed.