The circlehs package

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[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
Change logCHANGELOG.md
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
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