Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python-twitter streaming api support/example

I was working with python-twitter and realized that twitter provides streaming api to consume tweets in realtime. I found one example that uses pyCurl here

Have anyone tried or know how to use that with python-twitter library? please let me know

Thank you

like image 815
daydreamer Avatar asked Nov 22 '10 06:11

daydreamer


3 Answers

Tweepy has good modules for streaming. You can see examples here.

like image 127
pooya72 Avatar answered Oct 06 '22 03:10

pooya72


Check out tweetstream for a nice high-level library to access twitter's streaming API.

like image 34
Leopd Avatar answered Oct 06 '22 04:10

Leopd


python-twitter doesn't support twitter's real time API.

You will have to use Twisted, Tornado or Eventlet to consume such a real time API.

I know not, of any existing open source libraries in Python supporting this service right now.

like image 42
lprsd Avatar answered Oct 06 '22 04:10

lprsd