Versions in this module Expand all Collapse all v0 v0.1.5 Jun 14, 2026 v0.1.4 Jun 14, 2026 Changes in this version type Book + FirstPublishYear int type Client + func (c *Client) GetEditions(ctx context.Context, olid string, limit int) ([]Edition, error) type Edition + Published string + Publisher string type Work + FirstPublish string v0.1.3 Jun 14, 2026 Changes in this version type Author + Bio string type Book + ISBN []string + PublishYear int type Client + func (c *Client) GetAuthorWorks(ctx context.Context, olid string, limit int) ([]SubjectWork, error) + func (c *Client) GetEditionByISBN(ctx context.Context, isbn string) (*Edition, error) + func (c *Client) GetSubject(ctx context.Context, subject string, limit int) ([]SubjectWork, error) + type Edition struct + ISBN10 []string + ISBN13 []string + Key string + Pages int + PublishDate string + Publishers []string + Title string + type SubjectWork struct + Authors []string + Key string + Title string type Work + Covers []int + Description string v0.1.2 Jun 14, 2026 Changes in this version type Book + CoverURL string + Pages int + PublishDate string + Publishers []string + Subjects []string type Client + func (c *Client) GetBookByISBN(ctx context.Context, isbn string) (*Book, error) v0.1.1 Jun 14, 2026 Changes in this version + type Author struct + BirthDate string + DeathDate string + Key string + Name string + Rank int + TopWork string + URL string + WorkCount int type Client + func (c *Client) GetAuthor(ctx context.Context, olid string) (*Author, error) + func (c *Client) GetWork(ctx context.Context, olid string) (*Work, error) + func (c *Client) SearchAuthors(ctx context.Context, query string, limit int) ([]Author, error) + type Work struct + AuthorKeys []string + Desc string + Key string + Subjects []string + Title string + URL string v0.1.0 Jun 14, 2026 Changes in this version + const BaseURL + const DefaultUserAgent + const Host + type Book struct + Authors []string + CoverID int + EbookAccess string + Editions int + FirstYear int + Key string + Languages []string + Rank int + Title string + URL string + type Client struct + func NewClient(cfg Config) *Client + func (c *Client) SearchBooks(ctx context.Context, query string, limit int) ([]Book, error) + func (c *Client) Subject(ctx context.Context, subject string, limit int) ([]Book, error) + type Config struct + BaseURL string + Rate time.Duration + Retries int + Timeout time.Duration + UserAgent string + func DefaultConfig() Config + 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 Subject struct + Name string + Rank int + URL string + WorkCount int