The CircleCI REST API implementation in Haskell. For more info please see official API reference.
Work in progress.
Let's obtain information about the user:
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE LambdaCase #-}
import Network.CircleCI
main :: IO ()
main = runCircleCI getUserInfo
(AccountAPIToken "e64c67410f96ba2whatever")
>>= \case
Left problem -> print problem
Right info -> print info