An open API service indexing awesome lists of open source software.

https://github.com/5monkeys/slacker


https://github.com/5monkeys/slacker

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

          

=======
Slacker
=======

|pypi|_
|build status|_
|pypi downloads|_
|gitter chat|_

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

About
=====

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

Examples
========
.. code-block:: python

from slacker import Slacker

slack = Slacker('')

# 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
============

.. code-block:: bash

$ pip install slacker

Documentation
=============

https://api.slack.com/methods

.. |build status| image:: https://img.shields.io/travis/os/slacker.svg
.. _build status: http://travis-ci.org/os/slacker
.. |pypi| image:: https://img.shields.io/pypi/v/Slacker.svg
.. _pypi: https://pypi.python.org/pypi/slacker/
.. |pypi downloads| image:: https://img.shields.io/pypi/dm/Slacker.svg
.. _pypi downloads: https://pypi.python.org/pypi/slacker/
.. |gitter chat| image:: https://badges.gitter.im/Join%20Chat.svg
.. _gitter chat: https://gitter.im/os/slacker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge