Bruno Tavares > Pikeo-API-1.01 > Pikeo::API::Photo

Download:
Pikeo-API-1.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Pikeo::API::Photo - Abstraction of a pikeo photo

FUNCTIONS ^

CONSTRUCTORS

new( \%args )

Returns a Pikeo::API::Contact object.

Required args are:

id()

Photo id

comments()

List of Pikeo::API::Comment objects representing the photo comments.

setPrivacy(\%args)

Change the privacy level of the photo.

Required args:

Optional args:

addComment(\%args)

Adds a comment to the photo

Required args:

Optional args:

owner()

Pikeo::API::User that owns the photo

thumbnail_url($size)

Returns the url for the photo thumbnail of the given size.

Size can be one of the following:

1016x762 500x400 200x150 96x72 75x75 50x50

original_url()

Return full url to the original photo file

title()

is_family()

is_contact()

is_friend()

owner_username()

original_file_size()

original()

secret()

url_prefix()

description()

height()

width()

mime_type()

date_posted()

date_taken()

owner_id()

title()

tags()

syntax highlighting: