Commit 914d9d5c authored by Josh Roesslein's avatar Josh Roesslein
Browse files

Added retweet streaming method.

parent c34a3f73
......@@ -6,6 +6,7 @@ during upgrade will be listed here.
+ Fixes
+ Google App Engine fixes (thanks Thomas Bohmbach, Jr)
+ Added Retweet API methods
+ Added Retweet Streaming method
1.0 -> 1.0.1
============
......
......@@ -4,5 +4,5 @@ The plan of attack for the next version of Tweepy.
============
+ implement win32 file locking for FileCache
+ add retweet API methods [DONE]
+ add retweet streaming method
+ add retweet streaming method [DONE]
......@@ -151,6 +151,13 @@ class Stream(object):
self.running = True
Thread(target=self._run).start()
def retweet(self):
if self.running:
raise TweepError('Stream object already connected!')
self.url = '/%i/statuses/retweet.json?delimited=length' % STREAM_VERSION
self.running = True
Thread(target=self._run).start()
def sample(self, count=None):
if self.running:
raise TweepError('Stream object already connected!')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment