Skip to main content

slacker wrapper for asyncio

Project description

info:

slacker wrapper for asyncio

https://img.shields.io/travis/wikibusiness/aioslacker.svg https://img.shields.io/pypi/v/aioslacker.svg

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


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.8.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page