https://github.com/dogukanayd/catch-tweet-with-keyword
Get Tweet by giving keyword and do keyword analysis
https://github.com/dogukanayd/catch-tweet-with-keyword
data-analysis data-mining data-science datascience keyword-analysis python python27 social-media social-network social-network-analysis tweet tweets twitter twitter-analysis twitter-api twitter-oauth twitter-sentiment-analysis twitterwordcloud wordcloud
Last synced: about 2 months ago
JSON representation
Get Tweet by giving keyword and do keyword analysis
- Host: GitHub
- URL: https://github.com/dogukanayd/catch-tweet-with-keyword
- Owner: dogukanayd
- License: mit
- Created: 2018-04-19T10:12:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-23T01:28:13.000Z (over 7 years ago)
- Last Synced: 2025-06-09T19:49:18.252Z (4 months ago)
- Topics: data-analysis, data-mining, data-science, datascience, keyword-analysis, python, python27, social-media, social-network, social-network-analysis, tweet, tweets, twitter, twitter-analysis, twitter-api, twitter-oauth, twitter-sentiment-analysis, twitterwordcloud, wordcloud
- Language: Python
- Homepage:
- Size: 978 KB
- Stars: 12
- Watchers: 1
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# CATCH TWEET WITH KEYWORD
This project allows you to extract data from the API with the entered word and date using the Twitter API.
## Example of the outputs

## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
Python 2.7 and Pip
### Installing
```
git clone https://github.com/dogukanayd/Catch-Tweet-with-Keyword.git
cd Catch-Tweet-with-Keyword
pip install -r requirements.txt
```Enter your own keys into the settings.py
```
YOUR_CONSUMER_KEY = 'YOUR_CONSUMER_KEY'
YOUR_CONSUMER_SECRET = 'YOUR_CONSUMER_SECRET_KEY'
YOUR_KEY = 'YOUR_KEY'
YOUR_SECRET = 'YOUR_SECRET_KEY'
```## Running
The main function is called at the bottom of the catch_tweet.py file. Go there and enter the values you want.
The first parameter is the word you want to search for
The second parameter is how many days you want to go back
The third parameter is language choice for your keyword: Restricts tweets to the given language, given by an ISO 639-1 code. Language detection is best-effort.
Example:
```
main('btc', 7, 'tr')
```Go to the folder where the project is located from the terminal
```
cd Catch-Tweet-with-Keyword
python catch-tweet.py
```Keyword Analysis
Go to the keyword-analysis.py than
Change the inside of this array you want to search for
```
keywords = ["dump", "pump"]
```## License
This project is licensed under the MIT License - see the [LICENSE.txt](LICENSE.txt) file for details