Skip to content

A Python utility for collecting tweets in a time series database

License

Notifications You must be signed in to change notification settings

Vanclief/tweet-catcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python utility for collecting tweets in a time series database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages