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.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for twacapic-0.1.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52e83288723a4dcf4f367c056f0f5274ccca6f6e1c47e50051904abe004278b2 |
|
MD5 | 96f5f13410ac22f369b016f686e04697 |
|
BLAKE2b-256 | 1c8fdbac7f2949324603fb1c4ebdd5ad13e2c0a79d29b4d2506db63a3e8caf27 |