themoviedb-1.2.0.0: Haskell API bindings for http://themoviedb.org

CopyrightThis file is part of the package themoviedb. It is subject to
the license terms in the LICENSE file found in the top-level
directory of this distribution and at:

https://github.com/pjones/themoviedb

No part of this package including this file may be copied
modified propagated or distributed except according to the terms
contained in the LICENSE file.
LicenseMIT
Safe HaskellNone
LanguageHaskell2010

Network.API.TheMovieDB.Internal.HTTP

Description

Simple interface for fetching JSON files from the API via HTTP.

Synopsis

Documentation

apiBaseURL :: String Source #

The base URL for the version of the API we're using.

defaultImagePrefix :: Text Source #

The default image URL prefix.

apiGET :: Manager -> Settings -> Path -> QueryText -> IO (Either Error Body) Source #

Build a URL and do an HTTP GET to TheMovieDB.