
Pikeo::API::Photos

use Pikeo::API;
use Pikeo::API::Photos;
# create an API object to maintain you session
# trough out the diferent calls
my $api = Pikeo::API->new({secret=>'asd', key=>'asdas'});
# Create the Photos facade
my $photos = Pikeo::API::Photos->new({ api => $api });
# Search for photos
$photos_searched = $photos->search({ text=>'shozu', num_items=>5 });

This modules provides an interface to the pikeo API photos searching methods.
The methods normally return a list of Pikeo::API::Photo objects.

Returns a Pikeo::API::Photos object.
Required args are:
The Pikeo::API object used to interact with the pikeo API
(pikeo.photos.getMostViewed)
Gets most viewed public photos from the whole photo repository.
Returns a list of Pikeo::API::Photo objects
Optional args:
Maximum number of items to return. Default 100, maximum 500.
(pikeo.photos.search)
Search photos which title or associated tags contains a given text, or that match with all different criteria sent in parameters.
Returns a list of Pikeo::API::Photo objects
Optional args:
Maximum number of items to return. Default 100, maximum 500.
The text to search in photo title or tag name, must contain at least 3 characters
Number of the first element to return.
Select photos for this user Id
Select photos for this user
Select photos for this album Id
Select photos for this album
Select photos for this group id
Boolean, Include photos from contacts too
Boolean, Filter to public photos only
Boolean, Acsendant or descendant order
Order Type : 0 by default, 1 by date taken, 2 by upload date, 3 by most viewed, 4 by comment date, 5 by group add date.
Reference to an array
Select photos for this list of tag id
Select photos which date is before this date
Date format: 2008-01-29 10:00:53
Select photos which date is after this date
Date format: 2008-01-29 10:00:53