Documentation ¶
Overview ¶
Package challonge contains code for obtaining tournament information using the Challonge API (https://api.challonge.com/v1). 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, username, password string) (tourney tournament.Tournament, entrants []tournament.Entrant, err error)
FromURL takes a URL to a Challonge tournament, calls the API with the provided credentials, and returns the parsed tournament and its entrants. A tournament URL takes the form: https://challonge.com/<tournament-id> (eg. https://challonge.com/8ozc6ffz)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.