challonge

package
v0.0.0-...-042b26a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: MIT Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL