Drarig29 / brackets-manager.js

A simple library to manage tournament brackets (round-robin, single elimination, double elimination).
https://drarig29.github.io/brackets-docs
MIT License
245 stars 38 forks source link

Get bracket results #185

Closed bilmakovskiyruslan closed 10 months ago

bilmakovskiyruslan commented 11 months ago

Is it possible to get bracket results? for example, If I want to get the next data:

await manger.get.tournamentResults()
[
  { place: 1, users: [1] }
  { place: 2, users: [2] }
  { place: 3, users: [3, 4] }
  { place: 4, users: [5,6, 7, 8] }
]
Drarig29 commented 10 months ago

Yes, with manager.get.finalStandings():

https://drarig29.github.io/brackets-docs/reference/manager/classes/Get.html#finalStandings