New API features are online

December 12th, 2007

We have some new API features online that were rolled out today. You can now retrieve the location of any number with a RESTful call to our API interface; you point your client to it like this:

http://www.upingme.com/api/location/00121234567891

where ‘00121234567891′ is a user’s number. The system returns your client an XML package that reads like this:

<upingme_package mode=”location”>
<location>727 5th ave new York by 10022</location>
<timestamp>1196876518</timestamp>
<icon>http://www.upingme.com/thumbnails/1.jpg</icon>
</upingme_package>

or, you are returned a ‘nowhere’ package if the user is set to ‘private’ or an error ‘404′ package if the user was not found.

You can also retrieve the five most recent messages by calling:

http://www.upingme.com/api/simple.xml

which will return your client a neat XML package of the five most recent messages.

Check out the API documentation for the details and let us know how you are using the API and what you would like to see in it.

There’s more to come!

Comments are closed.