Client for kokoro.io
Project description
What is this
This is a client for kokoro.io which is a chat service (maybe going to be) best ever.
I know that you want to join as soon as possible, please ask me or supermomonga-san about how to create account.
Requirements
Python3.6+
kokoro.io account(using your access token)
Install
$ pip install kokoroio
Configure
You must set an access token to sign in to kokoro.io by three way like follows.
Set environ path named KOKOROIO_ACCESS_TOKEN.
Set your access token to any file your choice and pass it’s file name to Kokoroio constructor as env_path.
Pass directly Kokoroio constructor as access_token.
Usage
Once you create Kokoroio instance, you can get requests’s HttpResponse instance anytime your request.
If you want to know about response object, please reference requests doc.
Very simple✨
Example
>>> from kokoroio import Kokoroio
>>> client = Kokoroio(access_token='xxxxxxxxx')
>>> json_response = client.channels.get().json()
Test
Sorry now I have no test😭
About kokoro.io’s API detail
You can find all of current API detail from the official apidoc.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.