jacobhood / Challonge-DotNet

MIT License
2 stars 4 forks source link

Add support for races #1

Closed ErwanTLG closed 3 years ago

ErwanTLG commented 3 years ago

Currently, there are 3 missing tournament types: SingleRace, GrandPrix and TimeTrial. When retrieving tournaments of this type, it throws a Newtonsoft.Json.JsonSerializationException.

Also, the current round of the race (useful for GrandPrix) is returned under Tournament.NonEliminationTournamentData.CurrentRound. I suggest we make a NonEliminationTournamentData its own type. From what I've seen, it has two children: current_round and participants_per_match (used for FFA tournaments).