com.aetrion.flickr.interestingness
Class InterestingnessInterface

java.lang.Object
  extended by com.aetrion.flickr.interestingness.InterestingnessInterface

public class InterestingnessInterface
extends java.lang.Object

Version:
$Id: InterestingnessInterface.java,v 1.9 2009/07/11 20:30:27 x-mago Exp $
Author:
till

Field Summary
static java.lang.String METHOD_GET_LIST
           
 
Constructor Summary
InterestingnessInterface(java.lang.String apiKey, java.lang.String sharedSecret, Transport transportAPI)
           
 
Method Summary
 PhotoList getList()
          convenience method to get the list of all 500 most recent photos in flickr explore with all known extra attributes.
 PhotoList getList(java.util.Date date, java.util.Set extras, int perPage, int page)
           
 PhotoList getList(java.lang.String date, java.util.Set extras, int perPage, int page)
          Returns the list of interesting photos for the most recent day or a user-specified date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METHOD_GET_LIST

public static final java.lang.String METHOD_GET_LIST
See Also:
Constant Field Values
Constructor Detail

InterestingnessInterface

public InterestingnessInterface(java.lang.String apiKey,
                                java.lang.String sharedSecret,
                                Transport transportAPI)
Method Detail

getList

public PhotoList getList(java.lang.String date,
                         java.util.Set extras,
                         int perPage,
                         int page)
                  throws FlickrException,
                         java.io.IOException,
                         org.xml.sax.SAXException
Returns the list of interesting photos for the most recent day or a user-specified date. This method does not require authentication.

Parameters:
date -
extras - A set of Strings controlling the extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo. Set to null or an empty set to not specify any extras.
perPage - The number of photos to show per page
page - The page offset
Returns:
PhotoList
Throws:
FlickrException
java.io.IOException
org.xml.sax.SAXException
See Also:
Extras

getList

public PhotoList getList(java.util.Date date,
                         java.util.Set extras,
                         int perPage,
                         int page)
                  throws FlickrException,
                         java.io.IOException,
                         org.xml.sax.SAXException
Parameters:
date -
extras -
perPage -
page -
Returns:
PhotoList
Throws:
FlickrException
java.io.IOException
org.xml.sax.SAXException
See Also:
Extras

getList

public PhotoList getList()
                  throws FlickrException,
                         java.io.IOException,
                         org.xml.sax.SAXException
convenience method to get the list of all 500 most recent photos in flickr explore with all known extra attributes.

Returns:
a List of Photos
Throws:
FlickrException
java.io.IOException
org.xml.sax.SAXException


Copyright (C) 2005-2008 Aetrion LLC. All Rights Reserved.