owl

package
v0.0.0-...-846776f Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	ID    json.Number
	Teams [2]struct {
		Name string
		Logo string
	} `json:"competitors"`
	Scores [2]struct {
		Value int
	}
	Status   string
	Timezone string    `json:"timeZone"`
	Start    time.Time `json:"startDate"`
	End      time.Time `json:"endDate"`
}

Match represents an Overwatch League match.

func Live

func Live() (Match, error)

Live returns the Overwatch League match being streamed right now.

type Schedule

type Schedule struct {
	Data struct {
		Stages []struct {
			Matches []Match
		}
	}
}

Schedule shows all of the stages for OWL

func Matches

func Matches() (Schedule, error)

Matches gets the schedule for the current season of OWL.

Jump to

Keyboard shortcuts

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