
上QQ阅读APP看书,第一时间看更新
Stream API
You need a Stream API when the requirement is to collect data in real time, instead of back-dated from the platform. The Stream API of Twitter is widely used to collect real-time data from Twitter. The output is quite similar to that of a REST API apart from the real-time aspect. We'll see examples of the Twitter Stream API and its outputs.