The slack-web package

[Tags:library, mit]

Haskell bindings for the Slack web API.


[Skip to Readme]

Properties

Versions 0.1.0
Change log CHANGELOG.md
Dependencies aeson (==1.1.*), base (==4.9.*), generics-sop (==0.2.*), http-api-data (==0.3.*), http-client (==0.5.*), http-client-tls (==0.3.*), servant (==0.10.*), servant-client (==0.10.*), text (==1.2.*), 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>
Stability Unknown
Category Web
Home page https://github.com/jpvillaisaza/slack-web
Bug tracker https://github.com/jpvillaisaza/slack-web/issues
Source repository head: git clone https://github.com/jpvillaisaza/slack-web
Uploaded Tue Feb 28 14:58:55 UTC 2017 by jpvillaisaza
Distributions NixOS:0.1.0
Downloads 16 total (16 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-02-28 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for slack-web

Readme for slack-web-0.1.0

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 ...