NAME
Flickr::Tools - Tools to assist using the Flickr API
VERSION
CPAN: 1.22 Development: 1.22_01
SYNOPSIS
This is the base class for the various Flickr::Tools, you will probably want one of the subclasses, such as Flickr::Tools::Person.
my $tool = Flickr::Tool->new({config_file => 'my/storable/config/file.st'});
my $tool = Flickr::Tool->new({
                              consumer_key    => '1234567890abcdefedcba0987654321',
                              consumer_secret => '123beefcafe321',
                              token           => '12345678909876-acdbeef55321',
                              token_secret    => '1234cafe4123b',
                             });
DESCRIPTION
METHODS
new- 
Returns a new Tool
 api- 
Returns the Flickr::API object this tool is using.
 clear_api- 
removes the Flickr::API object this tool was using.
 user- 
Returns the Flickr user hashref for the Flickr::API object this tool is using.
 
PUBLIC ATTRIBUTES
access_tokena read only attribute.- 
Returns your oauth access token if it is there. You will more commonly use
tokenbelow. auth_uria read only attribute.- 
Returns the Flickr oauth api uri. The default is most likely what youy want.
 callbacka read only attribute.- 
Returns your callback url if there is one.
 config_filea read only attribute.- 
Returns the path of your storable format configuration file, if there is one.
 consumer_keya read only attribute.- 
Returns your consumer key, this is required to create a tool object.
 consumer_secreta read only attribute.- 
Returns your consumer secret, this is required to create a tool object.
 locala read/write attribute.- 
local is a hashref that the tool keeps, but doesn't use. It is there to store you own items in a tool.
$tool->local($hashref);or
my $local = $tool->local; request_methoda read only attribute.request_tokena read only attribute.request_urla read only attribute.rest_uria read only attribute.signature_methoda read only attribute.tokena read only attribute.token_secreta read only attribute.unicodea read only attribute.versiona read only attribute.
PRIVATE ATTRIBUTES
DIAGNOSTICS
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
Perl 5.10 and Moo.
INCOMPATIBILITIES
None known of, yet.
BUGS AND LIMITATIONS
Yes
AUTHOR
Louis B. Moore <lbmoore@cpan.org>
LICENSE AND COPYRIGHT
Copyright (C) 2014-2015 Louis B. Moore <lbmoore@cpan.org>
This program is released under the Artistic License 2.0 by The Perl Foundation. http://www.perlfoundation.org/artistic_license_2_0
SEE ALSO
Flickr, http://www.flickr.com/services/api/ https://www.flickr.com/services/api/auth.oauth.html https://github.com/iamcal/perl-Flickr-API