object
gravatar
Portable Gravatar profile client using the Gravatar REST API.
logtalk_load(gravatar(loader))static, context_switching_callsPublic predicates
profile/2
Retrieves a Gravatar profile JSON object for an email address using default options.
staticprofile(Email,Profile)profile(+atom,-term) - one_or_errorEmail is a variable:instantiation_errorEmail is neither a variable nor an atom:type_error(atom,Email)gravatar_api_error(Status,Body)profile/3
Retrieves a Gravatar profile JSON object for an email address using the given options.
staticprofile(Email,Profile,Options)profile(+atom,-term,+list(compound)) - one_or_errorEmail is a variable:instantiation_errorEmail is neither a variable nor an atom:type_error(atom,Email)Options is a variable or a partial list:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)gravatar_api_error(Status,Body)
Option
api_key(APIKey): Uses the given Gravatar API key as a Bearer token. When absent, theLOGTALK_GRAVATAR_API_KEYenvironment variable is used when defined.Option
base_url(URL): Overrides the Gravatar API base URL. The default ishttps://api.gravatar.com/v3.HTTP options: Options
headers/1,version/1,properties/1, andconnection_options/1are forwarded to the HTTP client.
profile_response/3
Retrieves the raw normalized HTTP response for a Gravatar profile request.
staticprofile_response(Email,Response,Options)profile_response(+atom,-compound,+list(compound)) - one_or_errorEmail is a variable:instantiation_errorEmail is neither a variable nor an atom:type_error(atom,Email)Options is a variable or a partial list:instantiation_errorOptions is neither a variable nor a list:type_error(list,Options)Option of the list Options is neither a variable nor a compound term:type_error(compound,Option)Option of the list Options is a compound term but not a valid option:domain_error(option,Option)email_hash/2
Computes the Gravatar SHA-256 email hash after trimming leading and trailing whitespace and lowercasing ASCII letters.
staticemail_hash(Email,Hash)email_hash(+atom,-atom) - one_or_errorEmail is a variable:instantiation_errorEmail is neither a variable nor an atom:type_error(atom,Email)field/3
Returns a top-level field from a decoded Gravatar profile JSON object.
staticfield(Profile,Field,Value)field(+term,+atom,?term) - zero_or_onehash/2
Returns the Gravatar profile hash field.
statichash(Profile,Value)hash(+term,?term) - zero_or_onedisplay_name/2
Returns the Gravatar profile display name field.
staticdisplay_name(Profile,Value)display_name(+term,?term) - zero_or_oneprofile_url/2
Returns the Gravatar profile URL field.
staticprofile_url(Profile,Value)profile_url(+term,?term) - zero_or_oneavatar_url/2
Returns the Gravatar avatar URL field.
staticavatar_url(Profile,Value)avatar_url(+term,?term) - zero_or_oneavatar_alt_text/2
Returns the Gravatar avatar alternative text field.
staticavatar_alt_text(Profile,Value)avatar_alt_text(+term,?term) - zero_or_onelocation/2
Returns the Gravatar profile location field.
staticlocation(Profile,Value)location(+term,?term) - zero_or_onejob_title/2
Returns the Gravatar profile job title field.
staticjob_title(Profile,Value)job_title(+term,?term) - zero_or_onecompany/2
Returns the Gravatar profile company field.
staticcompany(Profile,Value)company(+term,?term) - zero_or_onedescription/2
Returns the Gravatar profile description field.
staticdescription(Profile,Value)description(+term,?term) - zero_or_onepronouns/2
Returns the Gravatar profile pronouns field.
staticpronouns(Profile,Value)pronouns(+term,?term) - zero_or_oneverified_accounts/2
Returns the Gravatar profile verified accounts field.
staticverified_accounts(Profile,Value)verified_accounts(+term,?term) - zero_or_onesection_visibility/2
Returns the Gravatar profile section visibility field.
staticsection_visibility(Profile,Value)section_visibility(+term,?term) - zero_or_oneProtected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)