Skip to main content

Slack API client

Project description

pypi build status pypi downloads

https://raw.githubusercontent.com/os/slacker/master/static/slacker.jpg

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/methods

Join the chat at https://gitter.im/os/slacker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slacker-0.7.4.tar.gz (5.0 kB view details)

Uploaded Source

File details

Details for the file slacker-0.7.4.tar.gz.

File metadata

  • Download URL: slacker-0.7.4.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slacker-0.7.4.tar.gz
Algorithm Hash digest
SHA256 f53136227b9cf32ab15329c0e7d7699d28883cbd541d0a1a893a4c305c63a972
MD5 23b493bb0b09de3c0bb958bd30072f9e
BLAKE2b-256 179f16c36d3c031659fc5e53463f72e5edab9cf396a78a4b117c26341accd419

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page