Giter Club home page Giter Club logo

catch-tweet-with-keyword's Introduction

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 file for details

catch-tweet-with-keyword's People

Contributors

dogukanayd avatar ilyaskuzu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.