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 Category struct + ID string + Name string + Type string + WebLink 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) GetLeaderboard(ctx context.Context, gameID, categoryID string, top int) ([]*LeaderboardEntry, error) + func (c *Client) ListCategories(ctx context.Context, gameID string) ([]*Category, error) + func (c *Client) ListGames(ctx context.Context, search string, limit int) ([]*Game, error) + func (c *Client) ListRuns(ctx context.Context, gameID string, limit int) ([]*Run, error) + 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 Game struct + ID string + Name string + Released int + WebLink string + type LeaderboardEntry struct + Place int + PlayerID string + PrimaryTime float64 + RunID string + type Run struct + Category string + Date string + Game string + ID string + PrimaryTime float64 + Status string + WebLink string