Flickr::Tools - Tools to assist using the Flickr API
CPAN: 1.22 Development: 1.22_01
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', });
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.
access_token
Returns your oauth access token if it is there. You will more commonly use token below.
token
auth_uri
Returns the Flickr oauth api uri. The default is most likely what youy want.
callback
Returns your callback url if there is one.
config_file
Returns the path of your storable format configuration file, if there is one.
consumer_key
Returns your consumer key, this is required to create a tool object.
consumer_secret
Returns your consumer secret, this is required to create a tool object.
local
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_method
request_token
request_url
rest_uri
signature_method
token_secret
unicode
version
_api
_api_name
_user
Perl 5.10 and Moo.
None known of, yet.
Yes
Louis B. Moore <lbmoore@cpan.org>
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
Flickr, http://www.flickr.com/services/api/ https://www.flickr.com/services/api/auth.oauth.html https://github.com/iamcal/perl-Flickr-API
To install Flickr::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Flickr::Tools
CPAN shell
perl -MCPAN -e shell install Flickr::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.