Andrew Sterling Hanenkamp > Net-Google-PicasaWeb-0.12 > Net::Google::PicasaWeb::MediaEntry

Download:
Net-Google-PicasaWeb-0.12.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  4
View/Report Bugs
Module Version: 0.12   Source  

NAME ^

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

VERSION ^

version 0.12

SYNOPSIS ^

  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 ^

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

ATTRIBUTES ^

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.

timestamp

The timestamp of the video or photo in bytes.

METHODS ^

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 ^

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.

syntax highlighting: