Documentation ¶
Index ¶
- type Serie
- func (s *Serie) GetByID(ID int) (*pandascore.Serie, error)
- func (s *Serie) List(params *pandascore.SerieListParams) ([]pandascore.Serie, error)
- func (s *Serie) ListForLeagueID(LeagueID int, params *pandascore.SerieListParams) ([]pandascore.Serie, error)
- func (s *Serie) ListPast(params *pandascore.SerieListParams) ([]pandascore.Serie, error)
- func (s *Serie) ListRunning(params *pandascore.SerieListParams) ([]pandascore.Serie, error)
- func (s *Serie) ListUpcoming(params *pandascore.SerieListParams) ([]pandascore.Serie, error)
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