{
  "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 fetch groups for.",
        "name": "user_id",
        "optional": "0"
      },
      {
        "_content": "A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: <code>privacy</code>, <code>throttle</code>, <code>restrictions</code>",
        "name": "extras",
        "optional": "1"
      }
    ]
  },
  "errors": {
    "error": [
      {
        "_content": "The user id passed did not match a Flickr user.",
        "code": "1",
        "message": "User not found"
      },
      {
        "_content": "SSL is required to access the Flickr API.",
        "code": 95,
        "message": "SSL is required"
      },
      {
        "_content": "The passed signature was invalid.",
        "code": 96,
        "message": "Invalid signature"
      },
      {
        "_content": "The call required signing but no signature was sent.",
        "code": 97,
        "message": "Missing signature"
      },
      {
        "_content": "The login details or auth token passed were invalid.",
        "code": 98,
        "message": "Login failed / Invalid auth token"
      },
      {
        "_content": "The method requires user authentication but the user was not logged in, or the authenticated method call did not have the required permissions.",
        "code": 99,
        "message": "User not logged in / Insufficient permissions"
      },
      {
        "_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 list of groups a user is a member of."
    },
    "explanation": {
      "_content": "The admin attribute indicates whether the user is an administrator of the group. The eighteenplus attribute indicates if the group is visible to members over 18 only. The invite_only attribute indicates whether a user can join the group without administrator approval."
    },
    "name": "flickr.people.getGroups",
    "needslogin": 1,
    "needssigning": 1,
    "requiredperms": "1",
    "response": {
      "_content": "<groups>\n  <group nsid=\"17274427@N00\" name=\"Cream of the Crop - Please read the rules\" iconfarm=\"1\" iconserver=\"1\" admin=\"0\" eighteenplus=\"0\" invitation_only=\"0\" members=\"11935\" pool_count=\"12522\" />\n  <group nsid=\"20083316@N00\" name=\"Apple\" iconfarm=\"1\" iconserver=\"1\" admin=\"0\" eighteenplus=\"0\" invitation_only=\"0\" members=\"11776\" pool_count=\"62438\" />\n  <group nsid=\"34427469792@N01\" name=\"FlickrCentral\" iconfarm=\"1\" iconserver=\"1\" admin=\"0\" eighteenplus=\"0\" invitation_only=\"0\" members=\"168055\" pool_count=\"5280930\" />\n  <group nsid=\"37718678610@N01\" name=\"Typography and Lettering\" iconfarm=\"1\" iconserver=\"1\" admin=\"0\" eighteenplus=\"0\" invitation_only=\"0\" members=\"17318\" pool_count=\"130169\" />\n</groups>"
    }
  },
  "stat": "ok"
}