{
  "arguments": {
    "argument": [
      {
        "_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details.",
        "name": "api_key",
        "optional": 0
      },
      {
        "_content": "The NSID of the user to get a photoset list for. If none is specified, the calling user is assumed.",
        "name": "user_id",
        "optional": "1"
      },
      {
        "_content": "The page of results to get. Currently, if this is not provided, all sets are returned, but this behaviour may change in future.",
        "name": "page",
        "optional": "1"
      },
      {
        "_content": "The number of sets to get per page. If paging is enabled, the maximum number of sets per page is 500.",
        "name": "per_page",
        "optional": "1"
      },
      {
        "_content": "A comma-delimited list of extra information to fetch for the primary photo. Currently supported fields are: 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_m, url_o",
        "name": "primary_photo_extras",
        "optional": "1"
      },
      {
        "_content": "A comma-separated list of photo ids. If specified, each returned set will include a list of these photo ids that are present in the set as \"has_requested_photos\"",
        "name": "photo_ids",
        "optional": "1"
      },
      {
        "_content": "A comma-separated list of groups used to sort the output sets. If has_photo is present, any of the calling user's galleries containing photos referred to in photo_ids will be returned before other galleries. The order of the sort_groups will dictate the order that the groups are returned in. Only available if continuation is used. The resulting output will include a \"sort_group\" parameter indicating the sort_group that each set is part of, or null if not applicable",
        "name": "sort_groups",
        "optional": "1"
      }
    ]
  },
  "errors": {
    "error": [
      {
        "_content": "The user NSID passed was not a valid user NSID and the calling user was not logged in.",
        "code": "1",
        "message": "User not found"
      },
      {
        "_content": "The continuation key passed was not valid or has already expired.",
        "code": "2",
        "message": "Continuation key is invalid or expired"
      },
      {
        "_content": "The API key passed was not valid or has expired.",
        "code": 100,
        "message": "Invalid API Key"
      },
      {
        "_content": "The requested service is temporarily unavailable.",
        "code": 105,
        "message": "Service currently unavailable"
      },
      {
        "_content": "The requested operation failed due to a temporary issue.",
        "code": 106,
        "message": "Write operation failed"
      },
      {
        "_content": "The requested response format was not found.",
        "code": 111,
        "message": "Format \"xxx\" not found"
      },
      {
        "_content": "The requested method was not found.",
        "code": 112,
        "message": "Method \"xxx\" not found"
      },
      {
        "_content": "The SOAP envelope send in the request could not be parsed.",
        "code": 114,
        "message": "Invalid SOAP envelope"
      },
      {
        "_content": "The XML-RPC request document could not be parsed.",
        "code": 115,
        "message": "Invalid XML-RPC Method Call"
      },
      {
        "_content": "One or more arguments contained a URL that has been used for abuse on Flickr.",
        "code": 116,
        "message": "Bad URL found"
      }
    ]
  },
  "method": {
    "description": {
      "_content": "Returns the photosets belonging to the specified user."
    },
    "explanation": {
      "_content": "<p>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.</p>"
    },
    "name": "flickr.photosets.getList",
    "needslogin": 0,
    "needssigning": 0,
    "requiredperms": 0,
    "response": {
      "_content": "<photosets page=\"1\" pages=\"1\" perpage=\"30\" total=\"2\" cancreate=\"1\">\n    <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\">\n      <title>Avis Blanche</title>\n      <description>My Grandma's Recipe File.</description>\n    </photoset>\n    <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\">\n      <title>Mah Kittehs</title>\n      <description>Sixty and Niner. Born on the 3rd of May, 2010, or thereabouts. Came to my place on Thursday, July 29, 2010.</description>\n    </photoset>\n</photosets>"
    }
  },
  "stat": "ok"
}