slack-d ~fix-slack-response-json-format-change

Slack API for D


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

ubuntu macos windows coverage

Slack Web API for D

Example

import std.stdio;
import slack;
void main() {
	auto slack = Slack("xoxb-YOUR-BOT-TOKEN-HERE");
	auto r = slack.postMessage("Hello from slack-d !");
	writeln(r);
}

Implemented methods (so far)

Chat

  • https://api.slack.com/methods/chat.postMessage

Conversations

  • https://api.slack.com/methods/conversations.list
  • https://api.slack.com/methods/conversations.history

TODO's

  • Add support for RTM (real-time messaging) API (see: https://api.slack.com/methods/rtm.connect)

See https://api.slack.com/methods for a full list of methods offered by the Slack API.

Authors:
  • Sinisa Susnjar
Dependencies:
none
Versions:
0.0.8 2024-Mar-15
0.0.7 2024-Mar-13
0.0.6 2023-Jun-03
0.0.5 2022-Sep-05
0.0.4 2022-Sep-05
Show all 10 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 14 downloads total

Score:
0.3
Short URL:
slack-d.dub.pm