avatar_info
From SmartBots Developers Docs
Revision as of 15:12, 21 October 2019 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE: avatar_info}} <onlyinclude>Returns the specific avatar's info.</onlyinclude> <syntaxhighlight lang="lsl"> // See "LSL Helper Functions" page for this function...")
Returns the specific avatar's info.
// See "LSL Helper Functions" page for this function
smartbotsAPI("avatar_info", [
"avatar": "cd93067e-7c4e-41c0-ba91-be01f4bafe35"
]);
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description | ||
---|---|---|---|---|
Input basic parameters: | ||||
action | yes | = avatar_info | ||
apikey | yes | Your personal developer's API key. | ||
botname | yes | Your bot's SL login. | ||
secret | yes | Bot access code of your bot. | ||
dataType | optional | Set to "json" to get JSON reply instead of URL-encoded string | ||
custom | optional | The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response. | ||
Input: | ||||
avatar | yes | the avatar UUID | ||
Output: | ||||
(to be received in http_response LSL event, see docs for details) | ||||
result | OK - command completed successfully FAIL - command failed | |||
resulttext | Detailed reason for the failure. | |||
custom | The value from input "custom" parameter. See above. | |||
about | Profile text | |||
born | SL birth day, MM/DD/YYYY | |||
identified | "1" if avatar has payment info | |||
image | Profile image UUID | |||
first_life_image | First life image UUID | |||
first_life_text | First life text | |||
mature | "1" if profile is mature | |||
online | "1" if avatar is online | |||
partner | Partner UUID (zero UUID if no partner) | |||
publish_web | "1" if profile is allowed to be published on web | |||
transacted | "1" if payment info was used | |||
url | Profile URL
|
Limitations
This API command is not intended for a mass group parsing. Thus, repetitive requests (roughly more than 3 per 10 seconds) may be throttled.
<< return back to Bot commands
(Miss an API call or parameter? Submit your request in forum)