Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Article struct + Byline string + Description string + Headline string + ImageURL string + Premium bool + PublishedDate string + WebURL string + type Client struct + BaseURL string + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) ListNews(ctx context.Context, sport, league string, limit int) ([]*Article, error) + func (c *Client) ListSchedule(ctx context.Context, sport, league string) ([]*Game, error) + func (c *Client) ListScores(ctx context.Context, sport, league string) ([]*Game, error) + func (c *Client) ListStandings(ctx context.Context, sport, league string) ([]*Standing, error) + func (c *Client) ListTeams(ctx context.Context, sport, league string) ([]*Team, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Domain struct + func (Domain) Info() kit.DomainInfo + func (Domain) Register(app *kit.App) + type Game struct + AwayScore string + AwayTeam string + Date string + HomeScore string + HomeTeam string + ID string + Season int + ShortName string + Status string + type Standing struct + Conference string + Division string + Losses float64 + Team string + Ties float64 + WinPct string + Wins float64 + type Team struct + Abbreviation string + ID string + Location string + LogoURL string + Name string + Slug string + WebURL string