Rev. Jeffrey Paul > Flickr-Simple > Flickr::Simple

Download:
Flickr-Simple-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

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

RELEASE EARLY AND OFTEN ^

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 ^

  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 ^

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

EXPORT

None by default.

SEE ALSO ^

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 ^

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

COPYRIGHT AND LICENSE ^

Copyright (C) 2007 by Rev. Jeffrey Paul.

syntax highlighting: