Net::Google::PicasaWeb::MediaEntry - represents a single Picasa Web photo or video


Net-Google-PicasaWeb documentation  | view source Contained in the Net-Google-PicasaWeb distribution.

Index


NAME

Top

Net::Google::PicasaWeb::MediaEntry - represents a single Picasa Web photo or video

VERSION

Top

version 0.11

SYNOPSIS

Top

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

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

DESCRIPTION

Top

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

ATTRIBUTES

Top

title

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

summary

This is the summary description of the photo. See summary in Net::Google::PicasaWeb::Feed.

author_name

This is the author/owner of the photo. 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 ID of the photo that can be used to retrieve it directly. See entry_id in Net::Google::PicasaWeb::Feed.

latitude

The geo-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 photo itself and its thumbnails. See Net::Google::PicasaWeb::MediaFeed.

album_id

This is the ID of the album that the photo belongs to.

width

The width of the video or photo in pixels.

height

The height of the video or photo in pixels.

size

The size of the video or photo in bytes.

METHODS

Top

list_tags

Lists tags used in the albums.

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

list_comments

Lists comments used in the albums.

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

AUTHOR

Top

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Top


Net-Google-PicasaWeb documentation  | view source Contained in the Net-Google-PicasaWeb distribution.