The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.galleries.getList
Return the list of galleries created by a user. Sorted from newest to oldest.
Authentication
This method does not require authentication.
Arguments
api_key(Required)- Your API application key. See here for more details.
user_id(Required)- The NSID of the user to get a galleries list for. If none is specified, the calling user is assumed.
per_page(Optional)- Number of galleries to return per page. If this argument is omitted, it defaults to 100. The maximum allowed value is 500.
page(Optional)- The page of results to return. If this argument is omitted, it defaults to 1.
Example Response
<galleries total="9" page="1" pages="1" per_page="100" user_id="34427469121@N01"> <gallery id="5704-72157622637971865" url="http://www.flickr.com/photos/george/galleries/72157622637971865" owner="34427469121@N01" date_create="1257711422" date_update="1260360756" primary_photo_id="107391222" primary_photo_server="39" primary_photo_farm="1" primary_photo_secret="ffa" count_photos="16" count_videos="2"> <title>I like me some black & white</title> <description>black and whites</description> </gallery> <gallery id="5704-72157622566655097" url="http://www.flickr.com/photos/george/galleries/72157622566655097" owner="34427469121@N01" date_create="1256852229" date_update="1260462343" primary_photo_id="497374910" primary_photo_server="231" primary_photo_farm="1" primary_photo_secret="9ae0f" count_photos="18" count_videos="0"> <title>People Sleeping in Libraries</title> <description /> </gallery> </galleries>
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.
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.