https://github.com/is2ei/typetalk-py
Typetalk API client written in Python
https://github.com/is2ei/typetalk-py
Last synced: 12 months ago
JSON representation
Typetalk API client written in Python
- Host: GitHub
- URL: https://github.com/is2ei/typetalk-py
- Owner: is2ei
- Created: 2019-06-18T17:43:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-23T16:07:40.000Z (almost 7 years ago)
- Last Synced: 2025-01-12T05:28:49.590Z (over 1 year ago)
- Language: Python
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
typetalk-py
===
[](https://pypi.python.org/pypi/typetalk)
[](https://travis-ci.com/is2ei/typetalk-py)
[](https://coveralls.io/github/is2ei/typetalk-py?branch=master)
Typetalk API client written in Python
Usage
---
#### Simple bot example
```python
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
---
- [Typetalk API Document](https://developer.nulab.com/docs/typetalk/)