class Fetcher
- Fetcher
- Reference
- Object
Defined in:
cover.crConstructors
Instance Method Summary
-
#get_image_url(isbn : String, provider_names : Array(String))
Get a single URL for a given ISBN.
-
#get_images_json(isbns : Array(String), provider_names : Array(String))
Get the JSON representation of the image URLs for an array of ISBNs.
- #save_image(isbn : String, filename : String)
Constructor Detail
Instance Method Detail
def get_image_url(isbn : String, provider_names : Array(String))
#
Get a single URL for a given ISBN. Try each provider in order and return the first URL found.
def get_images_json(isbns : Array(String), provider_names : Array(String))
#
Get the JSON representation of the image URLs for an array of ISBNs.