Query: flickr::api::response
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Flickr::API::Response(3pm) User Contributed Perl Documentation Flickr::API::Response(3pm)NAMEFlickr::API::Response - A response from the flickr API.SYNOPSISuse Flickr::API; use Flickr::API::Response; my $api = new Flickr::API({'key' => 'your_api_key'}); my $response = $api->execute_method('flickr.test.echo', { 'foo' => 'bar', 'baz' => 'quux', }); print "Success: $response->{success} ";DESCRIPTIONThis object encapsulates a response from the Flickr API. It's a subclass of "HTTP::Response" with the following additional keys: { 'success' => 1, 'tree' => XML::Parser::Lite::Tree, 'error_code' => 0, 'error_message' => '', } The "_request" key contains the request object that this response was generated from. This request will be a "Flickr::API::Request" object, which is a subclass of "HTTP:Request". The "sucess" key contains 1 or 0, indicating whether the request suceeded. If it failed, "error_code" and "error_message" explain what went wrong. If it suceeded, "tree" contains an "XML::Parser::Lite::Tree" object of the response XML.AUTHORCopyright (C) 2004, Cal Henderson, <cal@iamcal.com>SEE ALSOFlickr::API, XML::Parser::Lite perl v5.14.2 2008-09-29 Flickr::API::Response(3pm)
Related Man Pages |
---|
flickr::upload(3pm) - debian |
http::oai::response(3pm) - debian |
http::parser(3pm) - debian |
mojo::message::response(3pm) - debian |
poe::component::server::soap::response(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
tyoes of API |
PasTmon 0.11-1 (Beta branch) |
hiberlite 0.6 (Default branch) |
Help with Flickr Geolocation script! |
Insert a new line between the XML tags?. |