Safe Haskell | None |
---|---|
Language | Haskell2010 |
Basic utility to search an ISBN using the Google Books webservice
Documentation
data GoogleISBN Source #
Instances
Show GoogleISBN Source # | |
Defined in Google.ISBN showsPrec :: Int -> GoogleISBN -> ShowS # show :: GoogleISBN -> String # showList :: [GoogleISBN] -> ShowS # | |
Generic GoogleISBN Source # | |
Defined in Google.ISBN type Rep GoogleISBN :: Type -> Type # from :: GoogleISBN -> Rep GoogleISBN x # to :: Rep GoogleISBN x -> GoogleISBN # | |
FromJSON GoogleISBN Source # | |
Defined in Google.ISBN parseJSON :: Value -> Parser GoogleISBN # parseJSONList :: Value -> Parser [GoogleISBN] # | |
type Rep GoogleISBN Source # | |
Defined in Google.ISBN type Rep GoogleISBN = D1 (MetaData "GoogleISBN" "Google.ISBN" "google-isbn-1.0.0-LBGNUl1rikNJT8SvBmjd" False) (C1 (MetaCons "GoogleISBN" PrefixI True) (S1 (MetaSel (Just "googleISBNTotalItems") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Integer) :*: S1 (MetaSel (Just "googleISBNItems") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [Book]))) |
Book | |
|
Instances
Show Book Source # | |
Generic Book Source # | |
FromJSON Book Source # | |
type Rep Book Source # | |
Defined in Google.ISBN type Rep Book = D1 (MetaData "Book" "Google.ISBN" "google-isbn-1.0.0-LBGNUl1rikNJT8SvBmjd" False) (C1 (MetaCons "Book" PrefixI True) ((S1 (MetaSel (Just "bookTitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "bookSubtitle") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "bookPublisher") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "bookDescription") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "bookPublishedDate") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)) :*: (S1 (MetaSel (Just "bookLanguage") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "bookAuthors") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text])))))) |
googleISBN :: ISBN -> IO (Maybe GoogleISBN) Source #