serie

package
v0.0.0-...-cea206e Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serie

type Serie struct {
	Backend *pandascore.Backend
}

Serie resources is the interface on the library to interact with the serie section of the pandascore API. More info here : https://developers.pandascore.co/doc/#tag/Series

func (*Serie) GetByID

func (s *Serie) GetByID(ID int) (*pandascore.Serie, error)

GetByID returns a serie using the ID given as parameter.

func (*Serie) List

func (s *Serie) List(params *pandascore.SerieListParams) ([]pandascore.Serie, error)

List is returning series as described here : https://developers.pandascore.co/doc/#tag/Series

func (*Serie) ListForLeagueID

func (s *Serie) ListForLeagueID(LeagueID int, params *pandascore.SerieListParams) ([]pandascore.Serie, error)

ListForLeagueID is returning series as described here : https://developers.pandascore.co/doc/#tag/Series

func (*Serie) ListPast

func (s *Serie) ListPast(params *pandascore.SerieListParams) ([]pandascore.Serie, error)

ListPast is returning series as described here : https://developers.pandascore.co/doc/#tag/Series

func (*Serie) ListRunning

func (s *Serie) ListRunning(params *pandascore.SerieListParams) ([]pandascore.Serie, error)

ListRunning is returning series as described here : https://developers.pandascore.co/doc/#tag/Series

func (*Serie) ListUpcoming

func (s *Serie) ListUpcoming(params *pandascore.SerieListParams) ([]pandascore.Serie, error)

ListUpcoming is returning series as described here : https://developers.pandascore.co/doc/#tag/Series

Jump to

Keyboard shortcuts

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