public class PandaInterface
extends java.lang.Object
| Constructor and Description |
|---|
PandaInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI) |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<Panda> |
getList()
Return a list of Flickr pandas, from whom you can request photos using the
getPhotos(Panda, Set, int, int) API method. |
PhotoList<Photo> |
getPhotos(Panda panda,
java.util.Set<java.lang.String> extras,
int perPage,
int page)
Ask the Flickr Pandas for a list of recent public (and "safe") photos.
|
public PandaInterface(java.lang.String apiKey,
java.lang.String sharedSecret,
Transport transportAPI)
public java.util.ArrayList<Panda> getList() throws FlickrException
getPhotos(Panda, Set, int, int) API method.
This method does not require authentication.FlickrExceptionpublic PhotoList<Photo> getPhotos(Panda panda, java.util.Set<java.lang.String> extras, int perPage, int page) throws FlickrException
panda - The panda to ask for photos from.extras - A set of Strings controlling the extra information to fetch for each returned record. Extras.ALL_EXTRASperPage - The number of photos to show per pagepage - The page offsetFlickrExceptionExtras