Flickr::Tools::Cameras - Perl interface to the Flickr::API for cameras
CPAN: 1.22
Development: 1.22_01
use strict; use warnings; use Flickr::Tools::Cameras; use 5.010; my $config = "~/my_config.st"; # config in Storable format from L<Flickr::API> my $camera_tool = Flickr::Tools::Cameras->new({config_file => $config}); my $arrayref = $camera_tool->getBrands({list_type => 'List'}); my $hashref = $camera_tool->getBrands; #hashref is the default if (exists($hashref->{mybrand}) { $camera_tool->getBrandModels({Brand => 'mybrand'}); } if ($tool->cache_hit) { say "got brandModels from cache"; }
getBrands
getBrandModels
None known of, yet.
Yes
Louis B. Moore <lbmoore@cpan.org>
Copyright (C) 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
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.