TwitcastingのAPI2(β)のライブラリ
Project description
PyTwitcasting
PyTwitcastingはTwitcastingのAPIv2(β)を使うためのライブラリ
インストール
pipでインストール
pipenv install pytwitcasting
GitHubからクローンしてインストール
git clone https://github.com/tamago324/PyTwitcasting.git
cd PyTwitcasting
pipenv run python3 setup.py install
使用例
まずは、 https://twitcasting.tv/developernewapp.php でアプリの作成を行う
例)ユーザー名の表示
from pytwitcasting.auth import TwitcastingApplicationBasis
from pytwitcasting.api import API
client_id = 'ClientID'
client_secret = 'ClientSecret'
app_basis = TwitcastingApplicationBasis(client_id=client_id,
client_secret=client_secret)
api = API(application_basis=app_basis)
print(api.get_user_info('twitcasting_jp').name)
# ツイキャス公式
ドキュメント
ドキュメントは http://pytwitcasting.readthedocs.io/ja/latest/
ライセンス
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.
Source Distribution
pytwitcasting-1.0.0.tar.gz
(12.3 kB
view details)
Built Distribution
File details
Details for the file pytwitcasting-1.0.0.tar.gz
.
File metadata
- Download URL: pytwitcasting-1.0.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e30c9e26a31755f61f01f28e071c2352ae28eb07fad60c16d740707250c5432 |
|
MD5 | 23ba2e33738604e16e0d32d1d0025e73 |
|
BLAKE2b-256 | ebb9e094315183c684604766ca0dfc40c94e638c5a31f81cee4ab77db9ebf0eb |
File details
Details for the file pytwitcasting-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pytwitcasting-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52695870005311e1117dd86d4451d70d0624085bc827b69f160968e112cfe4ca |
|
MD5 | 8f709cc70c68ecbfacee667f8f9f3799 |
|
BLAKE2b-256 | c0842ad7041e5198a8aaafb1c9f3968202d49b404d358afca3e425c7761de42e |