class FlickRaw::Flickr::Panda
Public Instance Methods
flickr.panda.getList request.
Return a list of Flickr pandas, from whom you can request photos using the flickr.panda.getPhotos API method.
More information about the pandas can be found on the dev blog.
Arguments
Error codes
-
100: Invalid API Key
The API key passed was not valid or has expired.
-
105: Service currently unavailable
The requested service is temporarily unavailable.
-
106: Write operation failed
The requested operation failed due to a temporary issue.
-
111: Format “xxx” not found
The requested response format was not found.
-
112: Method “xxx” not found
The requested method was not found.
-
114: Invalid SOAP envelope
The SOAP envelope send in the request could not be parsed.
-
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
-
116: Bad URL found
One or more arguments contained a URL that has been used for abuse on Flickr.
Returns
ling linghsing hsingwang wang
# Generated automatically from flickr api def getList(*args) @flickr.call 'flickr.panda.getList', *args end
flickr.panda.getPhotos request.
Ask the Flickr Pandas for a list of recent public (and “safe”) photos.
More information about the pandas can be found on the dev blog.
Arguments
- panda_name (required)
-
The name of the panda to ask for photos from. There are currently three pandas named:ling ling
hsing hsing wang wang You can fetch a list of all the current pandas using the flickr.panda.getList API method.
- extras
-
A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: description, license, date_upload, date_taken, owner_name, icon_server, original_format, last_update, geo, tags, machine_tags, o_dims, views, media, path_alias, url_sq, url_t, url_s, url_q, url_m, url_n, url_z, url_c, url_l, url_o
- per_page
-
Number of photos to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
- page
-
The page of results to return. If this argument is omitted, it defaults to 1.
Error codes
-
1: Required parameter missing.
One or more required parameters was not included with your request.
-
2: Unknown panda
You requested a panda we haven't met yet.
-
100: Invalid API Key
The API key passed was not valid or has expired.
-
105: Service currently unavailable
The requested service is temporarily unavailable.
-
106: Write operation failed
The requested operation failed due to a temporary issue.
-
111: Format “xxx” not found
The requested response format was not found.
-
112: Method “xxx” not found
The requested method was not found.
-
114: Invalid SOAP envelope
The SOAP envelope send in the request could not be parsed.
-
115: Invalid XML-RPC Method Call
The XML-RPC request document could not be parsed.
-
116: Bad URL found
One or more arguments contained a URL that has been used for abuse on Flickr.
Returns
# Generated automatically from flickr api def getPhotos(*args) @flickr.call 'flickr.panda.getPhotos', *args end