Liking cljdoc? Tell your friends :D

clj-slack

clj-slack is a Clojure library with several independent Slack libraries. These Slack libraries are designed with an intention to make them work together easily, which means that they both depend on common configuration, message format, and database schema.

Key features

  • wrap Slack REST API with middleware handling cursor-based pagination and HTTP retry
  • handle Slack markdown message format

Requirement

This library requires Java 11.

Usage

(ns slack-api
  (:require [co.gaiwan.clj-slack.core :as clj-slack]))

;; export environment variable SLACK_TOKEN
(def conn (clj-slack/conn))

;; Using the pre-decorated API to get all the emoji
(clj-slack/get-emoji conn)

Test

bin/kaocha

License

  Copyright © 2017-2021 Arne Brasseur and contributors   Licensed under the term of the Mozilla Public License 2.0, see LICENSE.

Can you improve this documentation? These fine people already did:
Laurence Chen, Felipe Barros & ArielA147
Edit on GitHub

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close