lumify

package
v0.11.755 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

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 NewClient

func NewClient(c Config) (*Client, error)

func (*Client) GetIngestrURI

func (c *Client) GetIngestrURI() (string, error)

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

func (c *Config) GetIngestrURI() (string, error)

GetIngestrURI builds the ingestr source URI for Lumify. Format: lumify://?api_key=<api_key>[&sport=<sport>][&league=<league>][&base_url=<url>]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL