The circlehs package

[maintain]

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.


[Skip to ReadMe]

Properties

Versions0.0.3, 0.0.3
Dependenciesaeson (>=0.9.0.1 && <0.12), base (>=4.7 && <5), http-client (>=0.4.24 && <0.5), http-client-tls (>=0.2.2 && <0.5), mtl (>=2.2.1 && <2.3), servant (>=0.7 && <0.9), servant-client (>=0.7 && <0.9), text (>=1.2.2.1 && <2), time (>=1.4.1.1 && <1.7), transformers (>=0.4.2.0 && <0.6), unordered-containers (>=0.2.5.1 && <0.3) [details]
LicenseMIT
Copyright2016 Denis Shevchenko
AuthorDenis Shevchenko
Maintainerme@dshevchenko.biz
Stabilityalpha
CategoryAPI, Web
Home pagehttps://github.com/denisshevchenko/circlehs
Bug trackerhttps://github.com/denisshevchenko/circlehs/issues
Source repositoryhead: git clone https://github.com/denisshevchenko/circlehs.git
UploadedThu Apr 28 14:39:52 UTC 2016 by dshevchenko

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for circlehs-0.0.3

CircleCI   Code Climate   Hackage

CircleHs

The CircleCI REST API implementation in Haskell. For more info please see official API reference.

IMPORTANT! THE IMPLEMENTATION IS INCOMPLETE, 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