Skip to content

isabella232/slacker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slacker

image

About

Slacker is a full-featured Python interface for the Slack API.

Examples

from slacker import Slacker

slack = Slacker('<your-slack-api-token-goes-here>')

# Send a message to #general channel
slack.chat.post_message('#general', 'Hello fellow slackers!')

# Get users list
response = slack.users.list()
users = response.body['members']

# Upload a file
slack.files.upload('hello.txt')

Installation

$ pip install slacker

Documentation

https://api.slack.com/

About

Full-featured Python interface for the Slack API

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published