- Clone repo.
yarn
touch .env
and enter yourSTART_GG_API_TOKEN
(as per.env.example
).- Obtain a Start.gg API token here.
yarn start [phaseId]
, with no brackets.- To get your tournament event's
phaseId
, navigate to a bracket page and observe its URL. - The
phaseId
will be encoded in the URL as such:start.gg/tournament/[tournamentName]/event/[eventName]/brackets/[phaseId]/[poolId]
- For example, in the URL
https://www.start.gg/tournament/the-function-3-brooklan/event/melee-singles/brackets/1467733/2229338
, thephaseId
is1467733
.
- To get your tournament event's
- Your seeding will be saved to
./seeds.txt
. From here, I like to simplyopen seeds.txt
.
Currently does not support brackets >= 500 entrants in the most user-friendly way.
You can run the program multiple times with the optional page
argument to chain together multiple requests for 499 entrants each; e.g.
yarn start [phaseId] 1
yarn start [phaseId] 2
- ...