About

Metadata

  • Last updated , by matsubara0507
  • License MIT
  • Maintained by: t12307043@gunma-u.ac.jp

  • Lottery factor: 0

Links

Installation

Readme

drone-haskell

Build Status Build Status Hackage

Haskell client for the Drone API

USAGE

Add to stack.yml:

extra-deps:
- extensible-0.5
- github: matsubara0507/drone-haskell
  commit: XXX

e.g.

$ stack ghci
>> :set -XOverloadedStrings -XOverloadedLabels
>> import Data.Extensible
>> import Network.HTTP.Req
>> token = ...
>> client = HttpClient (#host @= "localhost" <: #port @= Nothing <: #token @= token <: nil)
>> rsp <- runReq defaultHttpConfig $ getSelf client
>> responseBody rsp

Reference

Reference Drone API by drone-go.