Tweepy: Stream data for X minutes?
I'm using tweepy to datamine the public stream of tweets for keywords. This is pretty straightforward and has been described in multiple places: http://runnable.com/Us9rrMiTWf9bAAW3/how-to-stream-data-from-twitter-with-tweepy-for-python http://adilmoujahid.com/posts/2014/07/twitter-analytics/ Copying code directly from the second link: #Import the necessary methods from tweepy library from tweepy.streaming import StreamListener from tweepy import OAuthHandler from tweepy import Stream #Variables that contains the user credentials to access Twitter API access_token = "ENTER YOUR ACCESS TOKEN"