Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agn-7/tweet-getter
Get Tweets by their IDs through Twitter API
https://github.com/agn-7/tweet-getter
dataset emotion-detection natural-language-processing nlp python python-3 sentiment-analysis tweepy tweets twitter twitter-api
Last synced: 2 months ago
JSON representation
Get Tweets by their IDs through Twitter API
- Host: GitHub
- URL: https://github.com/agn-7/tweet-getter
- Owner: agn-7
- License: mit
- Created: 2020-03-16T05:20:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-17T20:23:20.000Z (about 3 years ago)
- Last Synced: 2024-09-20T01:39:22.987Z (4 months ago)
- Topics: dataset, emotion-detection, natural-language-processing, nlp, python, python-3, sentiment-analysis, tweepy, tweets, twitter, twitter-api
- Language: Python
- Homepage:
- Size: 12.7 MB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get Tweets by IDs through Twitter's API.
This application creates the dataset through fetching tweets by their IDs.
There are some policies to avoid tweets content directly. Thus, there are many datasets with just tweets IDs and their labels. Hence, I've prepared an application to fetch these tweets context by their IDs using Twitter API. Consequently, you need a Twitter API Token [url](http://apps.twitter.com/).
In `./dataset` directory exists a dataset contains 1.3 million tweets in seven categories label (`anger`, `thankfulness`, `joy`, `sadness`, `fear`, `love`, `surprise`) by their IDs.
## Installation
```
pip install -r requirements.txt
```## Configuration
Customize the configuration file (`./configuration/configs.py`)
## Run
```python
python -m tweet_getter.dataset_maker
```---
[**NOTE**]:This package is compatible on *Python 3*