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.7.tar.gz
(4.5 kB
view details)
File details
Details for the file aioslacker-0.0.7.tar.gz
.
File metadata
- Download URL: aioslacker-0.0.7.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56c0cc8dda285c4a982846e1e06e74c8d3238bcfc0977ed6ba1626f8d18e6685 |
|
MD5 | 5b59a7d84093d1cfc6177b22ad347046 |
|
BLAKE2b-256 | f1af0d32685ef88899d4706d1b137541ea7c588ac3d058c8cbfa294de9a31a6f |