---
name: "Flickr::API::Cameras"
section: "3pm"
platform: "linux"
package: "libflickr-api-perl"
version: "1.29-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Flickr::API::Cameras"
---

# Flickr::API::Cameras(3pm)

An interface to the flickr.cameras.\* methods.

## NAME

Flickr::API::Cameras - An interface to the flickr.cameras.\* methods.

## SYNOPSIS

```
  use Flickr::API::Cameras;
  my $api = Flickr::API::Cameras->new({'consumer_key' => 'your_api_key'});
```

or

```
  my $api = Flickr::API::Cameras->import_storable_config($config_file);
  my @brands = $api->brands_list();
  my %brands = $api->brands_hash();
  my $cameras = $api->get_cameras($brands[1]);
```

## DESCRIPTION

This object encapsulates the flickr cameras methods.

`"Flickr::API::Cameras"` is a subclass of Flickr::API, so you can access Flickr's camera information easily.

## SUBROUTINES/METHODS

- "brands\_list"

  Returns an array of camera brands from Flickr's API.

- "brands\_hash"

  Returns a hash of camera brands from Flickr's API.

- "get\_cameras"

  Returns a hash reference to the descriptions of the cameras for a particular brand.

## LICENSE AND COPYRIGHT

Copyright (C) 2015, Louis B. Moore

This program is released under the Artistic License 2.0 by The Perl Foundation.

## SEE ALSO

Flickr::API. Flickr \<http://www.flickr.com/\>, \<http://www.flickr.com/services/api/\> \<https://github.com/iamcal/perl-Flickr-API\>
