package bookaml

  1. Overview
  2. Docs

Basic definitions concerning books.

Type definitions

type price = {
  1. amount : int;
  2. currency : string;
  3. formatted : string;
}
type image = {
  1. url : string;
  2. width : int;
  3. height : int;
}
type t = {
  1. isbn : Bookaml_isbn.t;
  2. title : string;
  3. author : string option;
  4. publisher : string option;
  5. pubdate : string option;
  6. page : string option;
  7. list_price : price option;
  8. price_new : price option;
  9. price_used : price option;
  10. price_collectible : price option;
  11. price_refurbished : price option;
  12. image_small : image option;
  13. image_medium : image option;
  14. image_large : image option;
}