Aaron Straup Cope > Net-Flickr-API-1.2 > Net::Flickr::API

Download:
Net-Flickr-API-1.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Module Version: 1.2   Source   Latest Release: Net-Flickr-API-1.69

NAME ^

Net::Flickr::API - base API class for Net::Flickr::* libraries

SYNOPSIS ^

 package Net::Flickr::RDF;
 use base qw (Net::Flickr::API);

DESCRIPTION ^

Base API class for Net::Flickr::* libraries

OPTIONS ^

Options are passed to Net::Flickr::Backup using a Config::Simple object or a valid Config::Simple config file. Options are grouped by "block".

flick

PACKAGE METHODS ^

__PACKAGE__->new($cfg)

Where $cfg is either a valid Config::Simple object or the path to a file that can be parsed by Config::Simple.

Returns a Net::Flickr::API object.

OBJECT METHODS ^

$obj->api_call(\%args)

Valid args are :

If the method encounters any errors calling the API, receives an API error or can not parse the response it will log an error event, via the log method, and return undef.

Otherwise it will return a XML::LibXML::Document object (if XML::LibXML is installed) or a XML::XPath object.

$obj->log()

Returns a Log::Dispatch object.

VERSION ^

1.2

DATE ^

$Date: 2005/12/17 17:42:36 $

AUTHOR ^

Aaron Straup Cope <ascope@cpan.org>

SEE ALSO ^

Config::Simple

Flickr::API

XML::XPath

XML::LibXML

BUGS ^

Please report all bugs via http://rt.cpan.org/

LICENSE ^

Copyright (c) 2005 Aaron Straup Cope. All Rights Reserved.

This is free software. You may redistribute it and/or modify it under the same terms as Perl itself.