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 Client struct + 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) GetStats(ctx context.Context) (*Stats, error) + func (c *Client) GetTaxon(ctx context.Context, scientificName string) ([]*Taxon, error) + func (c *Client) ListDatasets(ctx context.Context, limit int) ([]*Dataset, int, error) + func (c *Client) SearchOccurrences(ctx context.Context, scientificName string, limit int) ([]*Occurrence, int, error) + type Dataset struct + ID string + Title string + URL 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 Occurrence struct + BasisOfRecord string + Class string + Country string + Dataset string + Depth float64 + Family string + Genus string + ID string + Latitude float64 + Longitude float64 + ScientificName string + Year int + type Stats struct + Datasets int + Records int + Species int + Taxa int + type Taxon struct + Class string + Family string + ID string + Kingdom string + Order string + Phylum string + Rank string + ScientificName string