Here’s a trend we’re seeing more of these days: vendor provided interactive API tools. These useful web-based applications let you test drive the methods of a given web API without having to write code. AJAX-style web forms let you choose methods and parameters, press go, and have data immediately returned in another part of the page.
This can be a great way for API providers to let developers kick the tires on their APIs and quickly get up to speed. From Facebook to Google to CNET, these tools are becoming more common and more sophisticated.
Here’s a rundown of 9 places you can try now:
Facebook Test Console: If you have a Facebook login you can use the Facebook Test Console. Test over a dozen methods and get responses in XML, JSON, and Facebook PHP Client.
Interactive Google Base: As they describe “This demo page provides you with a simple mechanism for using the API and learning how it works. Each Google Base data API operation has an equivalent HTTP method, so you can try out the HTTP GET, POST, PUT, and DELETE methods as you invoke the operations below.”
Flickr API Explorer: Try-out methods of the popular
Flickr API with this tool. And since you may find yourself looking at an interactive API tool but not have any meaningful data to feed into it - like when it asks you for a “photo_id” - Flickr goes one step farther by offering a list of “Useful Values” on the side of the page including photo IDs and Group IDs. Very helpful feature.
Virtual Earth Interactive SDK: Choose from dozens of “I Want To” actions like “Show map” or “Get a route and directions”, see the adjacent map perform that action, then click on the Source Code tab to grab that exact JavaScript, or the Reference tab to get the manual page for the relevant method.
FollowTheMoney.org: There are a lot of good implementation details in the API for this non-profit, one of which is this AJAX example with download-able source code. For more on FollowTheMoney, see
our earlier coverage here. Amazon AWS Zone: Test drive eight different Amazon APIs. As they say “Amazon Web Services made simple.” Includes code samples, a code generator, REST and SOAP scratch pads.
Interfax Fax Web Service Demo: Doesn’t allow you to try the whole API but gives access to the main SendCharFax method so you can send faxes. ID required.
Comments[ 0 ]
Post a Comment