Flickr::Simple - Perl object library for manipulating Flickr data via


Flickr-Simple documentation  | view source Contained in the Flickr-Simple distribution.

Index


NAME

Top

Flickr::Simple - Perl object library for manipulating Flickr data via the Flickr API

RELEASE EARLY AND OFTEN

Top

This module is quite incomplete. Please submit patches or improvements to sneak@datavibe.net or join the mailing list by sending mail to flickr-simple-subscribe@googlegroups.com.

SYNOPSIS

Top

  use Flickr::Simple;

  my $apikey = '...';
  my $apisecret = '...';

  my $auth = Flickr::Simple::Auth->new(
  	{
  		apikey          => $apikey,
  		apisecret       => $apisecret,
  	}
  );

  my $user = $auth->authuser();
  print "authed as user: " . $user->username() . "\n";
  print "icon: " . $user->iconurl() . "\n";
  print "photo count: " . $user->count() . "\n";
  my @photos = $user->all_photos;
  foreach my $photo (@photos) {
  	print $photo->photopage . "\n";
  }

  my @photosets = $user->photosets;
  my $firstset = pop(@photosets);
  my @photoset_photos = $firstset->photos_in_set;
  my @tags = $photo->tags;

DESCRIPTION

Top

Object interface to Flickr API calls, organized by logical Flickr elements (Photo, Photoset, User, etc.)

EXPORT

None by default.

SEE ALSO

Top

The following object modules: Flickr::Simple::Photo Flickr::Simple::Photoset Flickr::Simple::User Flickr::Simple::Tag Flickr::Simple::Auth

Send mail to flickr-simple-subscribe@googlegroups.com to join the mailing list.

This module would not be possible without Cal Henderson's wonderful Flickr::API module.

Included with the module are some sample implementations that use Storable to allow the application authorization cookie to persist.

AUTHOR

Top

Rev. Jeffrey Paul, <sneak@datavibe.net>

COPYRIGHT AND LICENSE

Top


Flickr-Simple documentation  | view source Contained in the Flickr-Simple distribution.