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:
parent
0e258fe1a1
commit
84e4c5fe13
10 changed files with 167 additions and 96 deletions
|
|
@ -88,7 +88,7 @@ Getting a user home timeline
|
|||
oauth_token, oauth_token_secret)
|
||||
|
||||
# Returns an dict of the user home timeline
|
||||
print t.getHomeTimeline()
|
||||
print t.get_home_timeline()
|
||||
|
||||
|
||||
Catching exceptions
|
||||
|
|
@ -104,7 +104,7 @@ Catching exceptions
|
|||
BAD_OAUTH_TOKEN, BAD_OAUTH_TOKEN_SECRET)
|
||||
|
||||
try:
|
||||
t.verifyCredentials()
|
||||
t.verify_credentials()
|
||||
except TwythonAuthError as e:
|
||||
print e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue