Difference between revisions of "User:Kerik Rau/n2k.AppSpot"

From Second Life Wiki
Jump to navigation Jump to search
Line 14: Line 14:
example: http://n2k.appspot.com/k2n/cc62e3dd-a3e0-4556-9585-bfcbc7997f77
example: http://n2k.appspot.com/k2n/cc62e3dd-a3e0-4556-9585-bfcbc7997f77


Note: Some keys will not resolve.  For example check http://world.secondlife.com/resident/cc62e3dd-a3e0-4556-9585-bfcbc7997f77 to verify the key resolves into a person.
Note: Some keys will not resolve.  This is due to world.secondlife.com/resident/ not returning the profile.  I don't know if this is a bug or if it is an intended feature.

Revision as of 22:21, 26 January 2009

This service is designed to provide effortless name to key and the inverse conversions. It does so by utilizing web services that are readily available and acts as a proxy that strips things down to where they are easily usable within LSL (or any other application). It is hosted on Google's AppEngine, which means that it should easily scale with most demands placed on it.

The base url is http://n2k.AppSpot.com

Name 2 Key

example: http://n2k.AppSpot.com/n2k/Kerik+Rau (Note the + was added in to keep the URL intact, you can use a space or %20 if you prefer)

The response will either be the key or an empty string.

Key 2 Name

example: http://n2k.appspot.com/k2n/cc62e3dd-a3e0-4556-9585-bfcbc7997f77

Note: Some keys will not resolve. This is due to world.secondlife.com/resident/ not returning the profile. I don't know if this is a bug or if it is an intended feature.