elon_py/README.md

29 lines
568 B
Markdown
Raw Normal View History

2021-11-26 17:37:02 -08:00
# get-tweets
2021-12-05 21:07:26 -08:00
Get a user's tweets without an API key or doing any web scraping. This script uses web requests to get a user's tweets as if you were an unauthenticated user.
2021-11-26 17:37:02 -08:00
Data you get:
2021-12-05 21:07:26 -08:00
* Tweets (including retweets & replies)
2021-11-26 17:37:02 -08:00
* id
* text
* created_at
* retweet_count
* favorite_count
* reply_count
* quote_count
* retweeted
* is_quote_status
* possibly_sensitive
Requirements are:
2021-11-26 17:37:24 -08:00
* requests - To make the http requests to get the tweet data
2021-12-05 19:02:48 -08:00
2021-11-26 17:37:02 -08:00
# Usage
1. clone the repo
2. pip install -r requirements.txt
3. python get-tweets username --output name_of_file.csv