slacker wrapper for asyncio
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aioslacker Bringht it to live! Oct 1, 2018
.gitignore Fix session close for both aiohttp Apr 12, 2017
.travis.yml Attemp to fix matrix Oct 1, 2018
LICENSE Bump license Oct 1, 2018
MANIFEST.in Initial public release. Apr 2, 2017
README.rst Bringht it to live! Oct 1, 2018
requirements.txt Update pytest from 3.8.2 to 3.10.0 Nov 4, 2018
setup.cfg Bringht it to live! Oct 1, 2018
setup.py Attemp to fix matrix Oct 1, 2018
tox.ini Fix tox do not refresh requirements Oct 1, 2018

README.rst

aioslacker

info:slacker wrapper for asyncio
https://travis-ci.org/aio-libs/aioslacker.svg?branch=master

Installation

pip install aioslacker

Usage

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()

Thanks

The library was donated by Ocean S.A.

Thanks to the company for contribution.