Perl Diver 2.33
Main Environment Variables Perl Default Values Perl Config - Summary Perl Config - Full Installed Modules List Directory uptime Docs

Module Documentation
Details and documentation about a specific module, including version and documentation (if available). Note that while links to perldoc.com and search.cpan.org are provided, the module may be part of a larger distribution. If you reach a File Not Found page on either site, please try the parent module.

Flickr::API::Request

Name Flickr::API::Request
Version 1.28
Located at /usr/share/perl5
File /usr/share/perl5/Flickr/API/Request.pm
Is Core No
Search CPAN for this module Flickr::API::Request
Documentation Flickr::API::Request
Module Details Flickr::API::Request

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 the HTTP::Request manpage, 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@iamcal.com>

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


SEE ALSO

the Flickr::API manpage. the Net::OAuth manpage,

Perl Diver brought to you by ScriptSolutions.com © 1997- 2026