logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

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

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.

Name

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

See Also

       Flickr::API.  Net::OAuth,

perl v5.40.1                                       2025-05-04                          Flickr::API::Request(3pm)

Synopsis

UsingtheOAuthform:
         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);

   UsingtheoriginalFlickrform:
         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);

See Also