Companion

object Companion

Functions

Link copied to clipboard
fun fromGoodReadsId(id: String): GoodReadsMetadata

Get the metadata from a GoodReads book ID.

Link copied to clipboard
fun fromUrl(url: String): GoodReadsMetadata

Get the metadata from a GoodReads book detail page.

Link copied to clipboard
fun lookup(    title: String,     author: String? = null,     includeAuthorInSearch: Boolean = author != null): GoodReadsMetadata

Try to find a match on GoodReads using the given parameters, then fetch and return the associated metadata. This is equivalent to GoodReadsLookup(... params ...).findBestMatch().getMetadata().

Sources

Link copied to clipboard