APIs
There are several web services used to create Jauntlets, and you are free to use them in your own applications. They use simple REST protocols, where an http get request with query string parameters returns an XML file. The services are limited to IP addresses, so if you want to use them, email
info@jauntlet.com and tell me your IP and what youre doing.
No gurantees are made for any of these services. Use them at your own risk.
The Journey service takes a Journey ID and returns the information for the journey. For now, you just have to provide the ID yourself, which you get from the query string of your Jauntlets. In the future, there should be a service to get ID from other information.
URL: http://www.jauntlet.com/xmljourney.aspx?id=123
- The id is the Journey ID.
- If there is an error, there will just be an empty journey element.
- The dates are formatted for the JavaScript new Date constructor.
- Some elements may be empty.
- The photo url is to an image with its longest side 240 pixels.
- Flickr's terms of use requires you to link the photo to its page.
Sample XML
Sample C#.NET Proxy
Because JavaScript can only connect to the server whence it came and because you must have a single IP, you need to use a server proxy to connect to the Jauntlet services.
Sample JavaScript AJAX
This is a sample of a client-side JavaScript call to the Journey service through the proxy above.
If you use Jauntlet APIs on your site please include the logo below or the text "Powered by Jauntlet" linked to
http://www.jauntlet.com.
