slack-d ~main

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

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.3 2021-Oct-17
0.0.2 2021-Oct-15
0.0.1 2021-Oct-10
~main 2021-Oct-17
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

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