You aren't signed in     Sign In    Help

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.

Example Response

<photosets cancreate="1">
	<photoset id="5" primary="2483" secret="abcdef"
		server="8" photos="4" farm="1">
		<title>Test</title>
		<description>foo</description>
	</photoset>
	<photoset id="4" primary="1234" secret="832659"
		server="3" photos="12" farm="1">
		<title>My Set</title>
		<description>bar</description>
	</photoset>
</photosets>

Photosets are returned in order, with the "newest" set first. Applications displaying photosets should honor this 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.

API Explorer

API Explorer : flickr.photosets.getList