Update Twitter Endpoints & Internal Functions

* Twitter Endpoints are now in the order of
https://dev.twitter.com/docs/api/1.1

* No need to repeat search function internally when it is available via
`twitter_endpoints.py`

* Make `searchGen` use self.search, instead of self.get with the full
search url
This commit is contained in:
Mike Helmick 2013-03-19 15:40:40 -04:00
parent dfca6c533e
commit a172136f3e
5 changed files with 270 additions and 282 deletions

View file

@ -100,14 +100,6 @@ Get a user avatar url *(no authentication needed)*
print t.getProfileImageUrl('ryanmcgrath', size='bigger')
print t.getProfileImageUrl('mikehelmick')
Search Twitter *(no authentication needed)*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
::
from twython import Twython
t = Twython()
print t.search(q='python')
Streaming API
~~~~~~~~~~~~~
*Usage is as follows; it's designed to be open-ended enough that you can adapt it to higher-level (read: Twitter must give you access)