Using the Flickr API

with 4 Comments

This is a case study of how you can use Web Services to access information from another web application in your own blog.
Flickr have an application called the Flickr API Explorer where you can put together a URL to call up the Web Service.

API garden interface
API garden interface

Picture 5

The API garden have a list of the available methods, which you can choose and then you can use the application to put together the correct URL.

This is the URL I put together to get a list of photos from a specific set using the flickr.photosets.getPhoto method:


Picture 4

I have used this information to display these images on my own blog. In reality I could write some XSLT and display them any way I want but in this case I have cheated and used wordpress and the SimpleFlickr plugin to display the photos in a blog post.

4 Responses

  1. […] Using Flickr API tutorial […]

  2. […] Using Flickr API tutorial […]

  3. […] second parameter is Tag. If we use the example from the Flickr API again we can use the Flickr URL for the method flickr.photosets.getPhotos calling the photoset with […]

  4. […] should also have a look at the post on using the Flickr API and of course the post where the photos themselves are displayed with the help of […]