NAME
Flickr::Tools::Cameras - Perl interface to the Flickr::API for cameras
SYNOPSIS
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'});
}