slack-web: Bindings for the Slack web API

[ library, mit, web ] [ Propose Tags ]

Haskell bindings for the Slack web API.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0, 0.2.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 0.2.0.5, 0.2.0.6, 0.2.0.7, 0.2.0.8, 0.2.0.9, 0.2.0.10, 0.2.0.11, 0.2.0.12, 0.2.1.0, 0.3.0.0, 0.3.0.1, 0.4.0.0, 1.5.0.0, 1.5.0.1, 1.6.0.0, 1.6.1.0
Change log CHANGELOG.md
Dependencies aeson (>=1.1 && <1.2), base (>=4.9 && <4.10), generics-sop (>=0.2 && <0.3), http-api-data (>=0.3 && <0.4), http-client (>=0.5 && <0.6), http-client-tls (>=0.3 && <0.4), servant (>=0.10 && <0.11), servant-client (>=0.10 && <0.11), text (>=1.2 && <1.3), transformers [details]
License MIT
Copyright 2017 Juan Pedro Villa Isaza
Author Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
Maintainer Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
Category Web
Home page https://github.com/jpvillaisaza/slack-web
Bug tracker https://github.com/jpvillaisaza/slack-web/issues
Source repo head: git clone https://github.com/jpvillaisaza/slack-web
Uploaded by jpvillaisaza at 2017-02-28T14:58:55Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8035 total (69 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-02-28 [all 1 reports]

Readme for slack-web-0.1.0

[back to package description]

Haskell bindings for the Slack web API

Example

> import qualified Web.Slack as Slack
> import qualified Web.Slack.Api as Api
> manager <- Slack.mkManager
> :set -XRecordWildCards
> Slack.Cli{..} = Slack.mkCli
apiTest :: ...
authTest :: ...
channelsCreate :: ...
chatPostMessage :: ...
> Slack.run manager (apiTest Api.mkTestReq)
Right ...
> :set -XOverloadedStrings
> Slack.run manager (apiTest Api.mkTestReq { testReqFoo = Just "bar" })
Right ...