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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page