Update examples and READMEs

[ci skip]
This commit is contained in:
Mike Helmick 2013-05-16 13:36:46 -04:00
parent ea0b646fd1
commit 6238912b96
3 changed files with 100 additions and 1 deletions

View file

@ -2,4 +2,6 @@ from twython import Twython
# Requires Authentication as of Twitter API v1.1
twitter = Twython(APP_KEY, APP_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET)
twitter.update_profile_image('myImage.png')
avatar = open('myImage.png', 'rb')
twitter.update_profile_image(image=avatar)