Flickr::API::Request.3pm

Langue: en

Version: 2005-07-11 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

   use Flickr::API;
   use Flickr::API::Request;
 
   my $api = new Flickr::API({'key' => 'your_api_key'});
 
   my $request = new Flickr::API::Request({
         '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@iamcal.com>

SEE ALSO

Flickr::API.