update verbiage about streaming requests

The Twitter API is no longer used in the example.
This commit is contained in:
Randy Morris
2013-10-07 10:43:48 -04:00
parent d8180f5dac
commit 66339b21fa
+1 -2
View File
@@ -275,8 +275,7 @@ Streaming Requests
With ``requests.Response.iter_lines()`` you can easily iterate over streaming
APIs such as the `Twitter Streaming API <https://dev.twitter.com/docs/streaming-api>`_.
To use the Twitter Streaming API to track the keyword "requests"::
Simply set ``stream`` to ``False`` and iterate over the response with ``iter_lines()``::
import json
import requests