The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::Google::PicasaWeb::Album - represents a single Picasa Web photo album

VERSION

version 0.12

SYNOPSIS

  my @albums = $service->list_albums;
  for my $album (@albums) {
      print "Title: ", $album->title, "\n";
      print "Summary: ", $album->summary, "\n";
      print "Author: ", $album->author_name, " (", $album->author_uri, ")\n";

      $album->fetch_content( file => 'cover-photo.jpg' );
  }

DESCRIPTION

Represents an individual Picasa Web photo album. This class extends Net::Google::PicasaWeb::Feed.

ATTRIBUTES

url

The URL used to get the album information. See "url" in Net::Google::PicasaWeb::Feed.

title

This is the title of the album. See "title" in Net::Google::PicasaWeb::Feed.

summary

This is the summary of the album. See "summary" in Net::Google::PicasaWeb::Feed.

author_name

This is the author/owner of the album. See "author_name" in Net::Google::PicasaWeb::Feed.

author_uri

This is the URL to get to the author's public albums on Picasa Web. See "author_uri" in Net::Google::PicasaWeb::Feed.

entry_id

This is the identifier of the album used to look up a specific album in the API. This is the album ID. See "entry_id" in Net::Google::PicasaWeb::Feed.

latitude

The goe-coded latitude set on the album. See "latitude" in Net::Google::PicasaWeb::Feed.

longitude

The geo-coded longitude set on the album. See "longitude" in Net::Google::PicasaWeb::Feed.

photo

This is a link to the Net::Google::PicasaWeb::Media object that is used to reference the cover photo and thumbnails of it.

bytes_used

This is the size of the album in bytes.

number_of_photos

This is the number of photos in the albums.

METHODS

list_media_entries

list_photos

list_videos

  my @photos = $album->list_media_entries(%params);

Lists photos and video entries in the album. Options may be used to modify the photos returned.

This method takes the "STANDARD LIST OPTIONS" in Net::Google::PicasaWeb.

The "list_photos" and "list_videos" methods are synonyms for "list_media_entries".

list_tags

Lists tags used in the albums.

This method takes the "STANDARD LIST OPTIONS" in Net::Google::PicasaWeb.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Andrew Sterling Hanenkamp.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.