Description
The CircleCI REST API for Haskell.
Description
The CircleCI REST API implementation in Haskell. For more info please see official API reference.
Built with Servant.
Please note that implementation is incomplete yet.
README.md
CircleHs
The CircleCI REST API implementation in Haskell. For more info please see official API reference.
Work in progress.
Hello, CircleCI!
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