Versions in this module Expand all Collapse all v0 v0.1.1 Jun 15, 2026 Changes in this version + const Host + 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) v0.1.0 Jun 13, 2026 Changes in this version + const DefaultUserAgent + var ErrNotFound = errors.New("not found") + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) Chart(ctx context.Context, name string, limit int) ([]Title, error) + func (c *Client) Search(ctx context.Context, query string, limit int) ([]Title, error) + func (c *Client) TitleByID(ctx context.Context, idOrURL string) (TitleDetail, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + type Title struct + Description string + Genre string + ID string + Name string + Rank int + Rating string + Type string + URL string + Votes string + Year string + type TitleDetail struct + Actors []string + Country string + Description string + Directors []string + Duration string + Genre string + ID string + Keywords []string + Language string + Name string + Rating string + Type string + URL string + Votes string + Year string