Twitcasting library for Python
Project description
twitcaspy
Twitcatting for Python Python 3.7 - 3.9 are supported.
Other language version
Document
Installation
The easiest way to install the latest version from PyPI is by using pip:
pip install twitcaspy
You can also use Git to clone the repository from GitHub to install the latest development version:
git clone https://github.com/Alma-field/twitcaspy.git
cd twitcaspy
pip install .
Alternatively, install directly from the GitHub repository:
pip install git+https://github.com/Alma-field/twitcaspy.git
Examples
This is an execution example in the application scope.
Get the account name of @twitcasting_jp.
from twitcaspy import API, AppAuthHandler
auth = AppAuthHandler(client_id, client_secret)
api = API(auth)
print(api.get_user_info(id='twitcasting_jp').user.name)
# > ツイキャス公式
See in examples for other examples and the entire code.
Included example
Source
This library is based on:
- tweepy/tweepy - Twitter for Python!
- tamago324/PyTwitcasting - PyTwitcasting is a library for API v2 (β) of Twitcasting.
Links
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
twitcaspy-1.1.0.tar.gz
(19.6 kB
view hashes)