简体   繁体   English

python-twitter流API支持/示例

[英]python-twitter streaming api support/example

I was working with python-twitter and realized that twitter provides streaming api to consume tweets in realtime. 我正在使用python-twitter并意识到twitter提供流式api来实时消费推文。 I found one example that uses pyCurl here 我在这里找到了一个使用pyCurl的例子

Have anyone tried or know how to use that with python-twitter library? 有没有人尝试或知道如何使用python-twitter库? please let me know 请告诉我

Thank you 谢谢

Tweepy has good modules for streaming. Tweepy有很好的流媒体模块。 You can see examples here . 你可以在这里看到例子。

查看tweetstream,获取一个不错的高级库,以访问twitter的流媒体API。

python-twitter doesn't support twitter's real time API. python-twitter不支持twitter的实时API。

You will have to use Twisted , Tornado or Eventlet to consume such a real time API. 您将不得不使用TwistedTornadoEventlet来使用这样的实时API。

I know not, of any existing open source libraries in Python supporting this service right now. 我不知道,Python中现有的任何开源库都支持这项服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM