User:Nava Muni/k2n

From Second Life Wiki
Jump to navigation Jump to search
When I created this web service, I didn't know that something similar existed on the [x Alpha-Fox] site. Mine's a little different (supports lists). Again, my service goes 'right to the source' and queries the Linden Lab data services.

If you'd like to use this API, please contact Nava Muni for host information.


Ver 2.0

http://HOST/sl-k2n2.php?cmd=k2n&name=UUID[,UUID...]

Usage

  • UUID is the resident's UUID (key); case-insensitive

You can specify any number of UUIDs; separate each by a comma.

Return

Note: all returned data is text/plain

  • on valid data
    FIRST LAST UUID
    where FIRST and LAST are returned in the correct (that is, user-created) case
    and UUID is the UUID as given; this assists in managing result lists
  • if no data found
    - - 00000000-0000-0000-0000-000000000000
  • will return one line per each avatar identified in the query
  • returned data is unpredictable if a non-avatar UUID is given

Examples

http://HOST/sl-k2n2.php?cmd=k2n&uuid=74d815e8-183f-420b-8e44-ed4e288e2d3d

yields

Nava Muni 74d815e8-183f-420b-8e44-ed4e288e2d3d

Note the case of the resident's name in the query and in the result.


Ver 1.0

Note: there really was no version 1.