| Copyright | Copyright (C) 2017 Liam Kelly, Johannes Hartmann |
|---|---|
| License | MIT |
| Maintainer | Johannes Hartmann <ec17512@qmul.ac.uk> |
| Stability | provisional |
| Portability | stable |
| Safe Haskell | None |
HTTPRequestModule
Description
This module provides all the methods necessary for filling the database with movies and actors
Written by Liam Kelly, Johannes Hartmann
- httpGetListOfMovies :: String -> IO [Movie]
- httpGetListOfActores :: [Movie] -> IO [Actor]
- getDateString :: DateTime -> String
Documentation
httpGetListOfMovies :: String -> IO [Movie] Source #
Looks up all movies starting from a given time string in format yyyy-mm-dd at the TheMovieDB API.
httpGetListOfActores :: [Movie] -> IO [Actor] Source #
Looks up all actors playing in the given list of movies at the TheMovieDB API.
getDateString :: DateTime -> String Source #
For a given DateTime value from the Data.DateTime library a time string in yyyy-mm-dd format will be returned