Skip to main content

Typetalk API client

Project description

typetalk-py

PyPI Build Status Coverage Status

Typetalk API client written in Python

Usage

Simple bot example

import os
import typetalk

bot = typetalk.Bot(token=os.environ['TYPETALK_TOKEN'])

res = bot.post_message(
    topic_id=os.environ['TYPETALK_TOPIC_ID'],
    message='Hello, world!'
)
assert res['post']['message'] == 'Hello, world!'

Links

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

typetalk-1.0.3.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

typetalk-1.0.3-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

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