Update stream example, update AUTHORS for future example fix
Remove tests that usually caused Travis to fail Made it clear that Authenticaiton IS required for Streaming in the docstring
This commit is contained in:
parent
64b1349993
commit
f879094ea1
5 changed files with 9 additions and 19 deletions
|
|
@ -3,7 +3,8 @@ from twython import TwythonStreamer
|
|||
|
||||
class MyStreamer(TwythonStreamer):
|
||||
def on_success(self, data):
|
||||
print data
|
||||
if 'text' in data:
|
||||
print data['text'].encode('utf-8')
|
||||
# Want to disconnect after the first result?
|
||||
# self.disconnect()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue