amazon_books v0.4.0 AmazonBooks
Link to this section Summary
Link to this section Functions
Link to this function
lookup(isbn, opts \\ %{})
Find book by ISBN, ASIN or EAN.
Returns the result in the form of a list. Lookup multiple books by passing in a comma separated list of ISBNs.
AmazonBooks.lookup("9781633430112")
AmazonBooks.lookup("9781633430112,9780141035482")
# =>
# [%{author: "Benjamin Tan Wei Hao", title: "The Little Elixir ", ...},
# %{author: "Niall Ferguson", title: "The Ascent of Money: A Financial History of the World"}]
Include custom options:
AmazonBooks.lookup("076243631X", %{"Sort" => "relevancerank"})
Link to this function
query(params)
Perform custom queries.
AmazonBooks.query(%{"Title" => "Harry Potter", "Sort" => "relevancerank"})
Link to this function
search_by_keywords(keywords, opts \\ %{})
Link to this function
search_by_title(title, opts \\ %{})