Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) BootstrapStatic(ctx context.Context) ([]Player, []Team, []Gameweek, error) + func (c *Client) Entry(ctx context.Context, id int) (*wireEntry, error) + func (c *Client) Fixtures(ctx context.Context, gw int) ([]Fixture, error) + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) LeagueStandings(ctx context.Context, id int) (string, []StandingEntry, error) + func (c *Client) PlayerSummary(ctx context.Context, id int) ([]PlayerHistory, error) + type Config struct + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Classify(input string) (uriType, id string, err error) + func (Domain) Info() kit.DomainInfo + func (Domain) Locate(uriType, id string) (string, error) + func (Domain) Register(app *kit.App) + type Fixture struct + Finished bool + KickoffTime string + ScoreAway int + ScoreHome int + TeamAway string + TeamHome string + type Gameweek struct + AverageScore int + DeadlineTime string + Finished bool + HighestScore int + ID int + IsCurrent bool + Name string + type Player struct + Form string + FullName string + ID int + Name string + Price float64 + SelectedBy string + TeamID int + TotalPoints int + type PlayerHistory struct + Assists int + CleanSheets int + Goals int + Minutes int + Points int + Round int + type StandingEntry struct + EntryName string + Manager string + Rank int + Total int + type Team struct + Drawn int + ID int + Lost int + Name string + Played int + Points int + ShortName string + Won int