Flickr::API::Response man page on Mandriva

Man page or keyword search:  
man Server   17060 pages
apropos Keyword Search (all sections)
Output format
Mandriva logo
[printable version]

Flickr::API::Response(User Contributed Perl DocumentatFlickr::API::Response(3)

NAME
       Flickr::API::Response - A response from the flickr API.

SYNOPSIS
	 use 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}\n";

DESCRIPTION
       This 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.

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

SEE ALSO
       Flickr::API, XML::Parser::Lite

perl v5.10.1			  2008-09-29	      Flickr::API::Response(3)
[top]

List of man pages available for Mandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net