phpman > perldoc > Flickr::API::Request(3pm)

Markdown | JSON | MCP    

NAME
    Flickr::API::Request - A request to the Flickr API

SYNOPSIS
  Using the OAuth form:
      use Flickr::API;
      use Flickr::API::Request;

      my $api = Flickr::API->new({'consumer_key' => 'your_api_key'});

      my $request = Flickr::API::Request->new({
          'method' => $method,
          'args' => {},
      });

      my $response = $api->execute_request($request);

  Using the original Flickr form:
      use Flickr::API;
      use Flickr::API::Request;

      my $api = Flickr::API->new({'key' => 'your_api_key'});

      my $request = Flickr::API::Request->new({
          'method' => $method,
          'args' => {},
      });

      my $response = $api->execute_request($request);

DESCRIPTION
    This object encapsulates a request to the Flickr API.

    "Flickr::API::Request" is a subclass of HTTP::Request, so you can access any of the request
    parameters and tweak them yourself. The content, content-type header and content-length header
    are all built from the 'args' list by the "Flickr::API::execute_request()" method.

AUTHOR
    Copyright (C) 2004, Cal Henderson, <cal AT iamcal.com>

    OAuth patches and additions Copyright (C) 2014-2016, Louis B. Moore <lbmoore AT cpan.org>

SEE ALSO
    Flickr::API. Net::OAuth,

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 17:21 @216.73.216.233
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!