Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Movie = Movie {
- movieID :: ItemID
- movieTitle :: Text
- movieOverview :: Text
- movieGenres :: [Genre]
- moviePopularity :: Double
- moviePosterPath :: Text
- movieReleaseDate :: Maybe Day
- movieAdult :: Bool
- movieIMDB :: Text
- movieRunTime :: Int
- moviePosterURLs :: Configuration -> Movie -> [Text]
Documentation
Metadata for a movie.
- The
moviePosterPath
field is an incomplete URL. To construct a complete URL you'll need to use theConfiguration
type and themoviePosterURLs
helper function.
Movie | |
|
moviePosterURLs :: Configuration -> Movie -> [Text] Source #
Return a list of URLs for all possible movie posters.