Simple example of updating a profile image
This commit is contained in:
parent
102eac4d6e
commit
5f63187ca2
1 changed files with 5 additions and 0 deletions
5
tango_examples/update_profile_image.py
Normal file
5
tango_examples/update_profile_image.py
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import tango
|
||||
|
||||
# Instantiate Tango with Basic (HTTP) Authentication
|
||||
twitter = tango.setup(authtype="Basic", username="example", password="example")
|
||||
twitter.updateProfileImage("myImage.png")
|
||||
Loading…
Add table
Add a link
Reference in a new issue