/** * @author Hyacinthe MENIET * Created on 26 août 07 */ package net.dotmyself.restclient.flickrphotos; import java.util.List; /** * Web services Client which calls the Flickr Photos Web Services. */ public class PhotoWSClient { /** * The main method. * @param args * The tags. * @throws Exception */ public static void main(String[] args) throws Exception { if(args == null || args.length < 1) { throw new IllegalArgumentException("You must indicate the text you want to extract important terms."); } List photos = PhotoMapper.getPhotos(args[0]); for (Photo photo : photos) { System.out.println(PhotoMapper.buildThumbnailUrl(photo)); } } }