Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetIngestrURI ¶
type Config ¶
type Config struct {
// APIKey is the Lumify API key (lmfy-...), sent as a bearer token. Required.
APIKey string
// Sport is an optional sport slug filter (e.g. nba, nfl, mlb) applied to
// seasons, teams, players, events, and leagues.
Sport string
// League is an optional league slug filter applied to teams and events.
League string
// BaseURL overrides the API base URL. Optional, defaults to https://lumify.ai.
BaseURL string
}
Config holds the settings required to connect to Lumify, an agent-ready sports intelligence API.
func (*Config) GetIngestrURI ¶
GetIngestrURI builds the ingestr source URI for Lumify. Format: lumify://?api_key=<api_key>[&sport=<sport>][&league=<league>][&base_url=<url>]
Click to show internal directories.
Click to hide internal directories.