Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denisshevchenko/circlehs
The CircleCI REST API for Haskell.
https://github.com/denisshevchenko/circlehs
Last synced: 11 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-03T18:15:48.000Z (almost 6 years ago)
- Last Synced: 2024-09-23T07:45:38.530Z (about 2 months ago)
- Language: Haskell
- Homepage: http://hackage.haskell.org/package/circlehs
- Size: 23.4 KB
- Stars: 10
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[![CircleCI](https://circleci.com/gh/denisshevchenko/circlehs.svg?style=shield&circle-token=6a0ecfd0e019941c9da7ed3070d6cbaa29e3597d)](https://circleci.com/gh/denisshevchenko/circlehs) [![Code Climate](https://codeclimate.com/github/denisshevchenko/circlehs/badges/gpa.svg)](https://codeclimate.com/github/denisshevchenko/circlehs) [![Hackage](https://img.shields.io/badge/hackage-v0.0.3-blue.svg)](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
```