upload picture through external website to gravatar profile
I was wondering if it is possible to create an upload function to upload picture through my own site to the gravatar site? Yes, this is possible. See http://en.gravatar.com/site/implement/xmlrpc/ , specifically the grav.saveData or grav.SaveUrl calls. Yes it's possible! import base64 from xmlrpclib import ServerProxy, Fault from hashlib import md5 class GravatarXMLRPC(object): API_URI = 'https://secure.gravatar.com/xmlrpc?user={0}' def __init__(self, request, password=''): self.request = request self.password = password self.email = sanitize_email(request.user.email) self.email_hash = md5_hash