circlehs: The CircleCI REST API for Haskell

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] [Publish]

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, 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 repo head: git clone https://github.com/denisshevchenko/circlehs.git
Uploaded by dshevchenko at 2016-04-28T14:39:52Z

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for circlehs-0.0.3

[back to package description]

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