1Flickr::API::Request(3)User Contributed Perl DocumentatioFnlickr::API::Request(3)
2
3
4
6 Flickr::API::Request - A request to the Flickr API
7
9 use Flickr::API;
10 use Flickr::API::Request;
11
12 my $api = new Flickr::API({'key' => 'your_api_key'});
13
14 my $request = new Flickr::API::Request({
15 'method' => $method,
16 'args' => {},
17 });
18
19 my $response = $api->execute_request($request);
20
22 This object encapsulates a request to the Flickr API.
23
24 "Flickr::API::Request" is a subclass of "HTTP::Request", so you can
25 access any of the request parameters and tweak them yourself. The
26 content, content-type header and content-length header are all built
27 from the 'args' list by the "Flickr::API::execute_request()" method.
28
30 Copyright (C) 2004, Cal Henderson, <cal@iamcal.com>
31
33 Flickr::API.
34
35
36
37perl v5.12.2 2008-09-29 Flickr::API::Request(3)