Skip to main content

A Python wrapper for ChatWork's API

Project description

pychatwork

A Python wrapper for ChatWork's API

http://developer.chatwork.com/

チャットワークのAPIを簡単に使えるPythonのライブラリです。

Instollation

Install from PyPI.

pip install pychatwork

Install from github.

pip install git+https://github.com/takeshi0406/pychatwork

Usage

import pychatwork as ch

client = ch.ChatworkClient('your access token')

# get message from room 1234
res = client.get_messages(room_id='1234', force=True)

# post message to room 1234
client.post_messages(room_id='1234', message='hello chatwork!')

TODO

Now, only post message and get message methods were implemented.

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

pychatwork-1.0.5.tar.gz (2.2 kB view hashes)

Uploaded source

Built Distribution

pychatwork-1.0.5-py3-none-any.whl (4.0 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