startgg

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: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

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