CopyrightCopyright (C) 2017 Liam Kelly, Johannes Hartmann
LicenseMIT
MaintainerJohannes Hartmann <ec17512@qmul.ac.uk>
Stabilityprovisional
Portabilitystable
Safe HaskellNone

HTTPRequestModule

Description

This module provides all the methods necessary for filling the database with movies and actors

Written by Liam Kelly, Johannes Hartmann

Synopsis

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