The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.photosets.getList
Returns the photosets belonging to the specified user.
Authentication
This method does not require authentication.
Arguments
api_key(Required)- Your API application key. See here for more details.
user_id(Optional)- The NSID of the user to get a photoset list for. If none is specified, the calling user is assumed.
page(Optional)- The page of results to get. Currently, if this is not provided, all sets are returned, but this behaviour may change in future.
per_page(Optional)- The number of sets to get per page. If paging is enabled, the maximum number of sets per page is 500.
Example Response
<photosets page="1" pages="1" perpage="30" total="2" cancreate="1"> <photoset id="72157626216528324" primary="5504567858" secret="017804c585" server="5174" farm="6" photos="22" videos="0" count_views="137" count_comments="0" can_comment="1" date_create="1299514498" date_update="1300335009"> <title>Avis Blanche</title> <description>My Grandma's Recipe File.</description> </photoset> <photoset id="72157624618609504" primary="4847770787" secret="6abd09a292" server="4153" farm="5" photos="43" videos="12" count_views="523" count_comments="1" can_comment="1" date_create="1280530593" date_update="1308091378"> <title>Mah Kittehs</title> <description>Sixty and Niner. Born on the 3rd of May, 2010, or thereabouts. Came to my place on Thursday, July 29, 2010.</description> </photoset> </photosets>
Photosets are returned in the user's specified order, which may not mean the newest set is first. Applications displaying photosets should respect the user's ordering.
Error Codes
1: User not found- The user NSID passed was not a valid user NSID and the calling user was not logged in.
100: Invalid API Key- The API key passed was not valid or has expired.
105: Service currently unavailable- The requested service is temporarily unavailable.
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.