User:Kerik Rau/n2k.AppSpot

From Second Life Wiki
Jump to navigation Jump to search

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. For example check http://world.secondlife.com/resident/cc62e3dd-a3e0-4556-9585-bfcbc7997f77 to verify the key resolves into a person.