A Twitter Academic API Client
Project description
twacapic
Twitter Academic API Client
In development. Not even ready for experimental use!
Installation
Install via pip:
pip install twacapic
Usage
To collect the latest 100 tweets of a list of users run:
twacapic USER_GROUP_NAME PATH_TO_USER_CSV
USER_GROUP_NAME
should be the name of the results folder that is meant to be created and will contain raw json responses from Twitter.
PATH_TO_USER_CSV
should be a path to a list of Twitter user IDs, without header, one line per user ID.
Afterwards you can poll for new tweets of a user group by running simply:
twacapic USER_GROUP_NAME
Enjoy!
Dev Install
- Install poetry
- Clone repository
- In the directory run
poetry install
- Run
poetry shell
to start development virtualenv
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
twacapic-0.1.4.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for twacapic-0.1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 650499b1cf7c8f3653e6dea43012b22198425bf280a6b9cac0a8bc33e349ec5b |
|
MD5 | 4026fae6ff847da8d0a1ecfac04efa80 |
|
BLAKE2b-256 | 87a734842ddce4463854feb8843f8c1cf83cc3a7da15c4563c6d30bb8cd2e19b |