All Projects β†’ yongzhenlow β†’ Slack Api

yongzhenlow / Slack Api

Licence: mit
A super simple PHP wrapper for Slack API

Projects that are alternatives of or similar to Slack Api

Slack Ruby Client
A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
Stars: ✭ 957 (+2714.71%)
Mutual labels:  slack-api, slack
slackblocks
🎲 Python API for Building Messages Using the Slack Block Kit API
Stars: ✭ 32 (-5.88%)
Mutual labels:  slack, slack-api
google-calendar-slack-status
Automatically sync your Google Calendar events to your Slack status
Stars: ✭ 33 (-2.94%)
Mutual labels:  slack, slack-api
Slack Cli
Powerful Slack CLI via pure bash. Rich messaging, uploads, posts, piping, oh my!
Stars: ✭ 850 (+2400%)
Mutual labels:  slack-api, slack
Slacker
Slack Bot Framework
Stars: ✭ 495 (+1355.88%)
Mutual labels:  slack-api, slack
vscode-chat
Chat with your team while you collaborate over code using VS Live Share
Stars: ✭ 496 (+1358.82%)
Mutual labels:  slack, slack-api
WebsocketClientLite.PCL
websocket Client Lite PCL - Xaramrin
Stars: ✭ 22 (-35.29%)
Mutual labels:  slack, slack-api
Slack Watchman
Monitoring your Slack workspaces for sensitive information
Stars: ✭ 159 (+367.65%)
Mutual labels:  slack-api, slack
Chat
Chat with your team while you collaborate over code using VS Live Share
Stars: ✭ 468 (+1276.47%)
Mutual labels:  slack-api, slack
Java Slack Sdk
Slack Developer Kit (including Bolt for Java) for any JVM language
Stars: ✭ 393 (+1055.88%)
Mutual labels:  slack-api, slack
Slacknimate
πŸ‘― Realtime text animation for Slack chatops
Stars: ✭ 250 (+635.29%)
Mutual labels:  slack-api, slack
Slack Black Theme
slack theme, dark theme for slack, black theme slack black theme
Stars: ✭ 531 (+1461.76%)
Mutual labels:  slack-api, slack
Sclack
The best CLI client for Slack, because everything is terrible!
Stars: ✭ 2,363 (+6850%)
Mutual labels:  slack-api, slack
slack-web-api
Simple, convenient, and configurable HTTP client for making requests to Slack’s Web API. Deno port of @slack/web-api
Stars: ✭ 16 (-52.94%)
Mutual labels:  slack, slack-api
Bolt Python
A framework to build Slack apps using Python
Stars: ✭ 190 (+458.82%)
Mutual labels:  slack-api, slack
dienstplan
Slack bot app for duty rotations
Stars: ✭ 14 (-58.82%)
Mutual labels:  slack, slack-api
Slack Block Builder
Lightweight, no-dependency JavaScript library for creating Slack Block Kit UIs, with a builder syntax, inspired by SwiftUI.
Stars: ✭ 129 (+279.41%)
Mutual labels:  slack-api, slack
Slack Api Specs
Open API specifications for platform products by Slack
Stars: ✭ 148 (+335.29%)
Mutual labels:  slack-api, slack
Slack Cleaner
delete slack messages and files. An improved version is at:
Stars: ✭ 329 (+867.65%)
Mutual labels:  slack-api, slack
Slackpirate
Slack Enumeration and Extraction Tool - extract sensitive information from a Slack Workspace
Stars: ✭ 512 (+1405.88%)
Mutual labels:  slack-api, slack

Slack API

A super simple wrapper for Slack API

Requires > PHP 5.

Installation

Download and include the php file.

Usage

See more methods on the Slack API documentation.

Initializing
Requires a legacy token, read more about it here.

$Slack = new Slack('xoxp-your-legacy-token');

List users

$Slack = new Slack('xoxp-your-legacy-token');
print_r($Slack->call('users.list'));

Invite user to a channel

$Slack = new Slack('xoxp-your-legacy-token');
print_r($Slack->call('channels.invite', array(
  'channel' => 'C1234567890',
  'user' => 'U1234567890'
)));

Author

License

Copyright (c) 2014

Licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].