{-This file is part of the Haskell package themoviedb. It is subject tothe license terms in the LICENSE file found in the top-level directoryof this distribution and at git://pmade.com/themoviedb/LICENSE. Nopart of themoviedb package, including this file, may be copied,modified, propagated, or distributed except according to the termscontained in the LICENSE file.-}{- |This library provides some data types and functions for fetching moviemetadata from <http://TheMovieDB.org>. To use this library start byrequesting an API key from <http://docs.themoviedb.apiary.io>.Example:@import Network.API.TheMovieDBmain :: IO ()main = do -- The API key assigned to you (as a 'Text' value). let key = "your API key" -- The 'fetch' function will get a 'Movie' record based on its ID. result <- runTheMovieDB key (fetchMovie 9340) -- Do something with the result (or error). putStrLn (show result)@This library also includes an example executable in the @example@directory.-}module Network.API.TheMovieDB ( -- * Types Movie (..) , TV (..) , Season (..) , Episode (..) , Genre (..) , Error (..) , ItemID , Key -- * API Functions , TheMovieDB , runTheMovieDB , runTheMovieDBWithManager , searchMovies , fetchMovie , searchTV , fetchTV , fetchTVSeason , fetchFullTVSeries -- * Utility Types and Functions , Configuration , config , moviePosterURLs , tvPosterURLs , seasonPosterURLs , episodeStillURLs ) where--------------------------------------------------------------------------------import Network.API.TheMovieDB.Actionsimport Network.API.TheMovieDB.Internal.Configurationimport Network.API.TheMovieDB.Internal.TheMovieDBimport Network.API.TheMovieDB.Internal.Typesimport Network.API.TheMovieDB.Types.Episodeimport Network.API.TheMovieDB.Types.Genreimport Network.API.TheMovieDB.Types.Movieimport Network.API.TheMovieDB.Types.Seasonimport Network.API.TheMovieDB.Types.TV