Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 1.04 KB

README.md

File metadata and controls

81 lines (55 loc) · 1.04 KB

tweet-catcher

Tweet Catcher allows you to define a set of keywords, and automatically start a Twitter stream and save tweets that match any of the keywords in a time series database.

TODO

  • CLI
  • Data cleaning utility

Requirements

  • Python 3.3+

  • InfluxDB

  • Pip

Instalation

Pip

COOMING SOON

From source

Clone the repo

git clone https://github.com/Vanclief/tweet-catcher.git

Run setup

python setup.py install

Install requirements

pip install -r requirements.txt

Usage

  1. Create a config.yml file in your project directory.
database:
  host: 'localhost'
  port: 8086
  user: root
  password: root
  name: cryptotweets

twitter_api:
  consumer_key: ""
  consumer_secret: ""
  access_token: ""
  access_token_secret: ""

languages:
  - en

keywords:
  - 'btc'
  - 'bitcoin'
  - '#btc'
  - '#bitcoin'
  1. Run python catcher.py

Contribution

  1. Discuss changes by creating a issue.
  2. Fork the project.
  3. Create a branch with fix, or feature with it's proper tests.
  4. Create a PR