{
    "content": [
        {
            "type": "text",
            "text": "# Flickr::API::Request (perldoc)\n\n## NAME\n\nFlickr::API::Request - A request to the Flickr API\n\n## DESCRIPTION\n\nThis object encapsulates a request to the Flickr API.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS** (2 subsections)\n- **DESCRIPTION**\n- **AUTHOR**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Flickr::API::Request",
        "section": "",
        "mode": "perldoc",
        "summary": "Flickr::API::Request - A request to the Flickr API",
        "synopsis": "",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "Using the OAuth form:",
                        "lines": 12
                    },
                    {
                        "name": "Using the original Flickr form:",
                        "lines": 12
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Flickr::API::Request - A request to the Flickr API\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "",
                "subsections": [
                    {
                        "name": "Using the OAuth form:",
                        "content": "use Flickr::API;\nuse Flickr::API::Request;\n\nmy $api = Flickr::API->new({'consumerkey' => 'yourapikey'});\n\nmy $request = Flickr::API::Request->new({\n'method' => $method,\n'args' => {},\n});\n\nmy $response = $api->executerequest($request);\n"
                    },
                    {
                        "name": "Using the original Flickr form:",
                        "content": "use Flickr::API;\nuse Flickr::API::Request;\n\nmy $api = Flickr::API->new({'key' => 'yourapikey'});\n\nmy $request = Flickr::API::Request->new({\n'method' => $method,\n'args' => {},\n});\n\nmy $response = $api->executerequest($request);\n"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "This object encapsulates a request to the Flickr API.\n\n\"Flickr::API::Request\" is a subclass of HTTP::Request, so you can access any of the request\nparameters and tweak them yourself. The content, content-type header and content-length header\nare all built from the 'args' list by the \"Flickr::API::executerequest()\" method.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Copyright (C) 2004, Cal Henderson, <cal@iamcal.com>\n\nOAuth patches and additions Copyright (C) 2014-2016, Louis B. Moore <lbmoore@cpan.org>\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Flickr::API. Net::OAuth,\n",
                "subsections": []
            }
        }
    }
}