slack-web: Bindings for the Slack web API

[ library, mit, web ] [ Propose Tags ]

Haskell bindings for the Slack web API.


[Skip to Readme]
Versions [RSS] [faq] 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
Change log CHANGELOG.md
Dependencies aeson (>=1.0 && <1.6), base (>=4.11 && <4.15), butcher, bytestring, containers, deepseq, errors, hashable, http-api-data (>=0.3 && <0.5), http-client (>=0.5 && <0.7), http-client-tls (==0.3.*), megaparsec (>=5.0 && <10), monad-loops, mtl, pretty-simple, scientific, servant (>=0.12 && <0.19), servant-client (>=0.12 && <0.19), servant-client-core (>=0.12 && <0.19), slack-web, text (==1.2.*), time, transformers, unordered-containers [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 2021-09-02T14:10:11Z
Distributions NixOS:0.3.0.1
Executables slack-web-cli
Downloads 6462 total (45 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2021-09-02 [all 1 reports]

Modules

[Index] [Quick Jump]

Manual Flags

NameDescriptionDefault
cli

Build a CLI client for testing.

Disabled
Automatic Flags
NameDescriptionDefault

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates


Readme for slack-web-0.3.0.1

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