GitHunt
HE

hellysmile/aioslacker

slacker wrapper for asyncio

aioslacker

:info: slacker wrapper for asyncio

.. image:: https://img.shields.io/travis/wikibusiness/aioslacker.svg
:target: https://travis-ci.org/wikibusiness/aioslacker

.. image:: https://img.shields.io/pypi/v/aioslacker.svg
:target: https://pypi.python.org/pypi/aioslacker

Installation

.. code-block:: shell

pip install aioslacker

Usage

.. code-block:: python

import asyncio

from aioslacker import Slacker

TOKEN = 'xxxxx'

async def go():
    async with Slacker(TOKEN) as slack:
        await slack.chat.post_message('#general', 'Hello fellow slackers!')

loop = asyncio.get_event_loop()
loop.run_until_complete(go())
loop.close()

Languages

Python100.0%

Contributors

MIT License
Created April 2, 2017
Updated October 24, 2020
hellysmile/aioslacker | GitHunt