Example code for Streaming API http://www.typetalk.in
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
main.py
requirements.txt

README.md

Typetalk WebSocket client sample

Setup

Install required libraries

$ pip install -r requirements.txt

Register application to issue token

Create your application to use API. When issuing client id and client secret, you should select "Client Credentials" for "Grant Type".

Run sample application

You should set the following environment variables to run the sample application in advance.

$ export TYPETALK_CLIENT_ID=XXXX
$ export TYPETALK_CLIENT_SECRET=XXXX
$ ./main.py