Turpial/libturpial — pull request #27 by satanas (2012-11-24 23:11:48+00:00)
Title: Feature/21 implement services for upload images

Fellows @astagi @guerrerocarlos @milmazz: This pull request implements all services (8) for upload images in libturpial. To test this feature you can open a python interactive console and type something like:

from libturpial.api.core import Core
c = Core()
a = 'youruser-twitter'
c.login(a)
c.auth(a)
r = c.upload_pic(a, '/path/to/the/image.png', 'Optional message')
print r.items

After executing this, r.items should hold the URL for the posted image.

Please check that everything is ok and merge, otherwise let me know.

Kisses ;)