circlehs: The CircleCI REST API for Haskell

[ api, library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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]
Tested with ghc ==7.10.2, ghc ==7.10.3
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-28T15:04:37Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 980 total (5 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

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.

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