Versions in this module Expand all Collapse all v0 v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Client struct + HTTP *http.Client + Rate time.Duration + Retries int + UserAgent string + func NewClient() *Client + func (c *Client) FetchData(ctx context.Context, indicator, country, periods string) ([]*DataPoint, error) + func (c *Client) Get(ctx context.Context, url string) ([]byte, error) + func (c *Client) ListCountries(ctx context.Context) ([]*Country, error) + func (c *Client) ListIndicators(ctx context.Context) ([]*Indicator, error) + type Country struct + Code string + Label string + type DataPoint struct + Country string + Indicator string + Value float64 + Year string + 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 Indicator struct + Description string + ID string + Label string + Source string + Unit string