Skip to content

Seattle-PyLadies/twitter-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Here's a simple streamer to get started ingesting tweets from Twitter.  You'll need to modify the streamer to include your personal credentials to access the Twitter API.  

Get your credentials here:  https://dev.twitter.com/

Optionally you'll want to modify the 'track' list to include keywords that you want to track in the tweets.  The default setting listens for tweets that contain the words 'Seattle' or 'Python.'

Using the streamer:

First you'll need to install the library dependencies.  If you've got pip set up, you can just run:

pip install requirements.txt

Then to run the following at the prompt streamer type:

python streamer.py

The tweets will collect in a file in json format.

About

Fun with the Twitter API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages