Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Rahmanism/fetch_tweets
A simple python code for fetching tweets from twitter.com
https://github.com/Rahmanism/fetch_tweets
Last synced: 3 months ago
JSON representation
A simple python code for fetching tweets from twitter.com
- Host: GitHub
- URL: https://github.com/Rahmanism/fetch_tweets
- Owner: Rahmanism
- License: mit
- Created: 2019-05-30T13:45:25.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-22T22:50:51.000Z (over 1 year ago)
- Last Synced: 2024-06-28T14:34:19.240Z (5 months ago)
- Language: Python
- Size: 39.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fetch_tweets
A simple python code for fetching tweets from twitter.com
Using example:```bash
python gettweets_api.py -hg hashtag_to_search -c number_of_tweets -l language
python gettweets_api.py -x filename.csv -xc int_of_how_many_tweets_to_export | last
```Using `last` for `-xc` means the tweets from last export. If there was not any export before,
or the `last_tweet_id` file wasn't there, or the content of it was unreadable, it'll return all tweets.
(We use MySQL for saving tweets.)