skip to navigation
skip to content

aioslacker 0.0.8

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()
 
File Type Py Version Uploaded on Size
aioslacker-0.0.8.tar.gz (md5) Source 2017-08-28 4KB