@verbose
def tracktoscreen_demo(track='taylor swift', limit=10):
 oauth = credsfromfile()
 client = Streamer(**oauth)
 client.register(TweetViewer(limit=limit))
 client.filter(track=track)

@ verbose def tracktoscreen_demo ( track = 'taylor swift' , limit = 10 ) : oauth = credsfromfile ( ) client = Streamer ( ** oauth ) client . register ( TweetViewer ( limit = limit ) ) client . filter ( track = track )
track keywords from the public streaming api and send output to terminal .