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

From Second Life Wiki
Jump to: navigation, search
(New page: 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 thi...)
 
Line 1: Line 1:
 
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.
 
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.
 
==Usage==
 
  
 
The base url is http://n2k.AppSpot.com
 
The base url is http://n2k.AppSpot.com
  
For name 2 key you append /n2k/ and add in the name of the person you want to look up.
+
==Name 2 Key==
 
+
For example: http://n2k.AppSpot.com/n2k/Kerik+Rau
+
 
+
(Note the + was added in to keep the URL in tact, you can use a space or %20 if you prefer)
+
  
==Output==
+
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)
  
n2k - The service under most conditions will return only the key or nothing at all.  To verify this you could check to see if the length is 36 characters as that will eliminate any stack traces or other oddities that might come through.
+
The response will either be the key or an empty string.
  
==Todo==
+
==Key 2 Name==
  
The Key 2 Name portion of the site has not yet been written.
+
example: http://n2k.appspot.com/k2n/cc62e3dd-a3e0-4556-9585-bfcbc7997f77

Revision as of 12:14, 24 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