Bindings for the Slack web API

Latest on Hackage:0.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow to host generated Haddocks.

MIT licensed and maintained by Juan Pedro Villa Isaza

Haskell bindings for the Slack web API


> 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 :: ...
> manager (apiTest Api.mkTestReq)
Right ...
> :set -XOverloadedStrings
> manager (apiTest Api.mkTestReq { testReqFoo = Just "bar" })
Right ...



comments powered byDisqus