3 posts tagged “rest”
Learn about the Web Services standards REST and JSON by using Google Panoramio and just your web browser !
Using the Google Panoramio API you can display the photos from Panoramio on your
own web site. Geolocated photos from Panoramio are great to enrich your
maps or illustrate information where location is a important factor
(real estate sites, hotels and vacation sites, routes & trails...).
Here's how you'd get some photos of London (X=~0,Y=~51)
http://www.panoramio.com/photo/8075745
http://www.panoramio.com/map/get_panoramas.php ? from=1 & to=16 & minx=-1 & miny=50 & maxx=1 & maxy=52 & size=small (just remove the spaces on either side of each "?" and "&" )
This REST call returns a JSON result set that you can view in your browser and cut and paste photo URLs from :
{"count": 42259,
"photos":
[
{ "photo_id": 4337937, "photo_title": "Sir Tatton Sykes Monument", "photo_url": "http://www.panoramio.com/photo/4337937", "photo_file_url": "http://mw2.google.com/mw- panoramio/photos/medium/4337937.jpg", "longitude": -0.537515, "latitude": 54.042054, "width": 270, "height": 500, "upload_date": "31 August 2007", "owner_id": 278681, "owner_name": "G3ZZP", "owner_url": "http://www.panoramio.com/user/278681" }
,
{ "photo_id": 51502, "photo_title": "eclipse", "photo_url": "http://www.panoramio.com/photo/51502", "photo_file_url": "http://mw2.google.com/mw-panoramio/photos/medium/51502.jpg", "longitude": -0.121665, "latitude": 51.500969, "width": 500, "height": 375, "upload_date": "24 September 2006", "owner_id": 6645, "owner_name": "JesusVillalba", "owner_url": "http://www.panoramio.com/user/6645" }
]
}
For more help see http://www.panoramio.com/help/
Sun Web Developer Pack (SWDP) is a new integrated toolkit from Sun Microsystems that consists of a collection of Web 2.0 technologies that enable next generation Web application development.
The toolkit consists of binaries, tutorial, documentation, samples (including source) to build your Web 2.0 applications and deploy them on industry-grade containers.
It includes support for building rich user interface using Ajax technologies with Project jMaki & Project Dynamic Faces, light-weight Web services with Atom / REST APIs / WADL and server side scripting with Project Phobos.
Flickcurl is a C library for calling the Flickr Web service API from Redland RDF.
It handles the API signing, token management, and parameter encoding and decoding, resulting in C functions for the Web services APIs.
