July 2017
Beginner to intermediate
312 pages
7h 27m
English
Another method of obtaining information from Twitter is the streaming API. It gives access to Twitter's global stream of data. There are several basic streaming endpoints, each customized to certain use cases. Based on the Twitter documentation:
In order to connect to the API, we need to use the following endpoint:
url = 'https://stream.Twitter.com/1.1/statuses/filter.json'
The authorization requires the oauth library as follows:
from requests_oauthlib ...
Read now
Unlock full access