NAME

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

SYNOPSIS

use Flickr::API;

DESCRIPTION

This object encapsulates a response from the Flickr API. It's basically a blessed hash with the following structure:

  {
	'request' => Flickr::API::Request,
	'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. 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