Update all endpoints in the api_table, examples, READMEs

Also updated functions in twython.py to use pep8 functions instead of
camelCase functions
This commit is contained in:
Mike Helmick 2013-05-04 19:28:47 -04:00
parent 0e258fe1a1
commit 84e4c5fe13
10 changed files with 167 additions and 96 deletions

View file

@ -84,7 +84,7 @@ t = Twython(app_key, app_secret,
oauth_token, oauth_token_secret)
# Returns an dict of the user home timeline
print t.getHomeTimeline()
print t.get_home_timeline()
```
##### Catching exceptions
@ -97,7 +97,7 @@ t = Twython(MY_WRONG_APP_KEY, MY_WRONG_APP_SECRET,
BAD_OAUTH_TOKEN, BAD_OAUTH_TOKEN_SECRET)
try:
t.verifyCredentials()
t.verify_credentials()
except TwythonAuthError as e:
print e
```