@hackage slack-web0.4.0.0
Bindings for the Slack web API
Categories
License
MIT
Maintainer
Juan Pedro Villa Isaza <jpvillaisaza@gmail.com>
Links
Versions
Installation
Tested Compilers
Dependencies (19)
Dependents (1)
@hackage/acme-everything
Package Flags
cli
(off by default)
Build a CLI client for testing.
Haskell bindings for the Slack web API
-
Slack web API: https://api.slack.com/web
Example
> import qualified Web.Slack as Slack
> import qualified Web.Slack.Api as Api
> import Control.Monad.Reader
> :set -XOverloadedStrings
> slackConfig <- Slack.mkSlackConfig token
> flip runReaderT slackConfig (Slack.apiTest Api.mkTestReq)
Right ...
> flip runReaderT slackConfig (Slack.apiTest Api.mkTestReq { Api.testReqFoo = Just "bar" })
Right ...
License
Licensed under the MIT license. See LICENSE.md.