https://github.com/denisshevchenko/circlehs
The CircleCI REST API for Haskell.
https://github.com/denisshevchenko/circlehs
Last synced: 21 days ago
JSON representation
The CircleCI REST API for Haskell.
- Host: GitHub
- URL: https://github.com/denisshevchenko/circlehs
- Owner: denisshevchenko
- License: mit
- Created: 2016-04-16T14:31:25.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T18:15:48.000Z (over 6 years ago)
- Last Synced: 2025-05-30T14:49:14.949Z (about 1 month ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/circlehs
- Size: 23.4 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/denisshevchenko/circlehs) [](https://codeclimate.com/github/denisshevchenko/circlehs) [](http://hackage.haskell.org/package/circlehs)
# CircleHs
The [CircleCI](https://circleci.com/) REST API implementation in Haskell. For more info please see [official API reference](https://circleci.com/docs/api/).
Work in progress.
## Hello, CircleCI!
Let's obtain information about the user:
```haskell
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE LambdaCase #-}import Network.CircleCI
main :: IO ()
main = runCircleCI getUserInfo
(AccountAPIToken "e64c67410f96ba2whatever")
>>= \case
Left problem -> print problem
Right info -> print info
```