Skip to content
This repository has been archived by the owner on May 21, 2020. It is now read-only.
/ Tweet-fetcher Public archive

Python script that fetches tweets based on a search term and puts them into a MongoDB database

License

Notifications You must be signed in to change notification settings

arnomoonens/Tweet-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tweet-fetcher

Python script that fetches tweets based on a search term and puts them into a MongoDB database

Requirements

  • Twython
  • Pymongo
  • A running MongoDB database
  • A config.py files (see config.py.example and the list beneath)

Configuration

  • The collect_sources list contains tuples of respectively the term for which to search with the Twitter API and the destination collection in the MongoDB database.
  • The Twitter configuration settings in config.py can be obtained by registering your own application here.
  • The BOXCAR_KEY is used to push a notification to your device after the script is done collecting. The key can be obtained by logging in to Boxcar, going to the Settings page and copying the Access Token.

About

Python script that fetches tweets based on a search term and puts them into a MongoDB database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages