slacker wrapper for asyncio
Project description
- info:
slacker wrapper for asyncio
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()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioslacker-0.0.2.tar.gz
(4.6 kB
view hashes)