Parameters: | email (string) – email address |
---|---|
Returns: | the hash of email, suitable for embedding in a URL to retrieve its assigned image, e.g., http://gravatar.com/avatar/<hash> |
Represents an image in a user account.
Variables: |
|
---|
Represents a user account.
At least one of password and apikey must be specified.
Parameters: |
|
---|
Parameters: | emails (vararg list of string) – email addresses to check |
---|---|
Returns: | dictionary where each key is an email address from the passed-in list and each value is a boolean of whether that email address belongs to a Gravatar account and has an image assigned to it. |
Return type: | {string: boolean} |
Returns: | dictionary where each key is an email address belonging to the user account and each value is the Image assigned to it, or None if no image is assigned |
---|---|
Return type: | {string: Image} |
Save the data as a new image in the user account.
Parameters: |
|
---|---|
Returns: | ID of new image |
Return type: | string |
Read the image pointed to by the URL and save it as a new image in the user account.
Parameters: |
|
---|---|
Returns: | ID of new image |
Return type: | string |
Assign the image identified by an ID to every email address passed in.
Parameters: |
|
---|
For every email address passed in, unassign its image.
Parameters: | emails (vararg list of string) – email addresses to be unassigned |
---|