The circlehs package

[Tags:library, mit]

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

Versions 0.0.3
Change log CHANGELOG.md
Dependencies aeson (>=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]
License MIT
Copyright 2016 Denis Shevchenko
Author Denis Shevchenko
Maintainer me@dshevchenko.biz
Category API, Web
Home page https://github.com/denisshevchenko/circlehs
Bug tracker https://github.com/denisshevchenko/circlehs/issues
Source repository head: git clone https://github.com/denisshevchenko/circlehs.git
Uploaded Thu Apr 28 15:04:37 UTC 2016 by dshevchenko
Distributions NixOS:0.0.3
Downloads 60 total (7 in the last 30 days)
Votes
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for circlehs

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.

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