fedora-packages-0.0.2: Haskell interface to the Fedora Packages webapp API.

Stabilityexperimental
MaintainerRicky Elrod <ricky@elrod.me>
Safe HaskellNone

Fedora.Packages.API

Contents

Description

Functions and datatypes for directly calling out to the API and handling queries to and responses from it.

Synopsis

Responses

Requests

data Query a Source

Constructors

Query 

Fields

_qSearch :: a
 
_qRowsPerPage :: Int
 
_qStartRow :: Int
 

Instances

Eq a => Eq (Query a) 
Show a => Show (Query a) 
ToJSON a => ToJSON (Query a) 

apiGet :: FromJSON a => ByteString -> PackagesConfig -> IO aSource

Perform a GET request to the API.