{
  "stat": "ok",
  "method": {
    "response": {
      "_content": "<groups>\n\t<group nsid=\"34427469792@N01\" name=\"FlickrCentral\"\n\t\tadmin=\"0\" eighteenplus=\"0\" invitation_only=\"0\" /> \n\t<group nsid=\"37114057624@N01\" name=\"Cal's Test Group\"\n\t\tadmin=\"1\" eighteenplus=\"0\" invitation_only=\"1\" /> \n\t<group nsid=\"34955637532@N01\" name=\"18+ Group\"\n\t\tadmin=\"1\" eighteenplus=\"1\" invitation_only=\"0\" /> \n</groups>"
    },
    "requiredperms": 0,
    "needssigning": 0,
    "needslogin": 0,
    "name": "flickr.people.getPublicGroups",
    "explanation": {
      "_content": "<p>The <code>admin</code> attribute indicates whether the user is an administrator of the group. The <code>eighteenplus</code> attribute indicates if the group is visible to members over 18 only. The <code>invite_only</code> attribute indicates whether a user can join the group without administrator approval.</p>"
    },
    "description": {
      "_content": "Returns the list of public groups a user is a member of."
    }
  },
  "errors": {
    "error": [
      {
        "message": "User not found",
        "code": "1",
        "_content": "The user id passed did not match a Flickr user."
      },
      {
        "message": "Invalid API Key",
        "code": 100,
        "_content": "The API key passed was not valid or has expired."
      },
      {
        "message": "Service currently unavailable",
        "code": 105,
        "_content": "The requested service is temporarily unavailable."
      },
      {
        "message": "Write operation failed",
        "code": 106,
        "_content": "The requested operation failed due to a temporary issue."
      },
      {
        "message": "Format \"xxx\" not found",
        "code": 111,
        "_content": "The requested response format was not found."
      },
      {
        "message": "Method \"xxx\" not found",
        "code": 112,
        "_content": "The requested method was not found."
      },
      {
        "message": "Invalid SOAP envelope",
        "code": 114,
        "_content": "The SOAP envelope send in the request could not be parsed."
      },
      {
        "message": "Invalid XML-RPC Method Call",
        "code": 115,
        "_content": "The XML-RPC request document could not be parsed."
      },
      {
        "message": "Bad URL found",
        "code": 116,
        "_content": "One or more arguments contained a URL that has been used for abuse on Flickr."
      }
    ]
  },
  "arguments": {
    "argument": [
      {
        "optional": 0,
        "name": "api_key",
        "_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details."
      },
      {
        "optional": "0",
        "name": "user_id",
        "_content": "The NSID of the user to fetch groups for."
      },
      {
        "optional": "1",
        "name": "invitation_only",
        "_content": "Include public groups that require <a href=\"http://www.flickr.com/help/groups/#10\">an invitation</a> or administrator approval to join."
      }
    ]
  }
}