Documentation ¶
Overview ¶
Package startgg contains code for obtaining tournament information using the start.gg API (https://developer.start.gg/). This package assumes that the tournaments are already complete.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromURL ¶
func FromURL(URL *url.URL, key string) (tourney tournament.Tournament, entrants []tournament.Entrant, err error)
FromURL returns takes a URL to a start.gg event, calls the API with the provided API key, and returns the parsed tournament and its entrants. An event URL takes this form: https://start.gg/tournament/<tournament-slug>/event/<event-slug> (eg. https://start.gg/tournament/shinto-series-smash-1/event/singles-1v1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.