search_gen in Advanced usage deprecated #367

Merged
jeremykeen merged 1 commit from master into master 2015-03-30 07:02:32 -07:00
Showing only changes of commit db738cf41e - Show all commits

View file

@ -67,9 +67,13 @@ That being said, Twython offers a generator for search results and can be access
.. code-block:: python .. code-block:: python
search = twitter.search_gen('python') from twython import Twython
for result in search: twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN,
print result OAUTH_TOKEN_SECRET)
results = twitter.cursor(twitter.search, q='python')
for result in results:
print result
Manipulate the Request (headers, proxies, etc.) Manipulate the Request (headers, proxies, etc.)
----------------------------------------------- -----------------------------------------------