Skip to content

kn/slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slack

slack is a Python package that provides an interface to Slack listed officially on slack.com.

Build Status

Installation

Install via pip

$ pip install pyslack

Install from source:

$ git clone git://github.com/kn/slack.git
$ cd slack
$ python setup.py install

Getting Started

You need to get your Slack token from api.slack.com.

import slack
import slack.chat
slack.api_token = 'your_token'
slack.chat.post_message('#eng', 'Hello slackers!', username='mybot')

import slack.users
slack.users.list()

Available Methods

All methods in a preview release of Slack API are available.

About

A simple and comprehensive Slack API client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages