Documentation ¶
Index ¶
- func LargeImageURL(url string) string
- type GoodReads
- func (g GoodReads) GetBook(id string) (*ebook.Metadata, error)
- func (g GoodReads) GetBookID(metadata *ebook.Metadata) (string, error)
- func (g GoodReads) GetBookIDByISBN(isbn string) (string, error)
- func (g GoodReads) GetBookIDByQuery(author, title string) (string, error)
- func (g GoodReads) GetBookInfoByISBN(isbn string) (string, error)
- func (g GoodReads) GetBookSpecificClean(id string, forbiddenTags []string, tagAliases map[string][]string) (*ebook.Metadata, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LargeImageURL ¶ added in v0.13.0
LargeImageURL because the API returns the "medium" version of the cover url. This generates the "large" URL.
Types ¶
type GoodReads ¶
type GoodReads struct {
// contains filtered or unexported fields
}
GoodReads retrieves information from goodreads.com.
func (GoodReads) GetBookIDByISBN ¶
GetBookIDByISBN gets a Goodreads ID from an ISBN.
func (GoodReads) GetBookIDByQuery ¶
GetBookIDByQuery gets a Goodreads ID from a query.
func (GoodReads) GetBookInfoByISBN ¶ added in v0.10.0
GetBookInfoByISBN gets a Goodreads information from an ISBN.
Click to show internal directories.
Click to hide internal directories.