Common Lisp Package: CL-GDATA-PICASA

README:

FUNCTION

Public

DOWNLOAD-PHOTO-TO-FILE (PHOTO FILESPEC &KEY TYPE OVERWRITE)

Download the given photo to a file given by FILESPEC. If given, TYPE indicates the image type to download. TYPE must be one of the types returned by PHOTO-IMAGE-TYPES. If the OVERWRITE keyword is non-NIL, an existing file will be overwritten, otherwise an error will be raised.

DOWNLOAD-PHOTO-TO-STREAM (PHOTO OUT-STREAM &KEY TYPE)

Download the given photo and write the content to OUT-STREAM. If given, TYPE indicates the image type to download. TYPE must be one of the types returned by PHOTO-IMAGE-TYPES.

LIST-ALBUMS (&KEY (SESSION *GDATA-SESSION*) USER)

Return a list of all accessible albums for a user. USER indicates the username whose albmus should be retrieved. Defaults to the current user.

LIST-PHOTOS (ALBUM &KEY (SESSION *GDATA-SESSION*))

Return a list of photos in a given album

LIST-PHOTOS-FROM-URL (URL &KEY (SESSION *GDATA-SESSION*))

Return a list of photos in a given album specified using the Picasa album url format

PHOTO-IMAGE-TYPES (PHOTO)

Return a list of image types available for the given photo

UPLOAD-PHOTO (ALBUM TYPE STREAM TITLE &KEY (SESSION *GDATA-SESSION*) SUMMARY)

Upload a photo to Picasa. ALBUM indicates the album the the photo should be uploaded to. TYPE is the mime-type of the photo and must be one of the allowed types in *ALLOWED-IMAGE-MIME-TYPES*. STREAM must be a binary input stream from which to read the image data. TITLE is the title of the photo. SUMMARY is the summary for the photo.

SLOT-ACCESSOR

Public

PHOTO-COMMENT-COUNT (OBJECT)

The number of comments that has been posted for this photo

PHOTO-CONTENT (OBJECT)

A list of content locations

PHOTO-HEIGHT (OBJECT)

The height of the photo in pixels

PHOTO-ID (OBJECT)

The photo ID

PHOTO-MEDIA-THUMBNAIL (OBJECT)

A list of thumbnail descriptions

PHOTO-PUBLISHED (OBJECT)

The date the photo was uploaded

PHOTO-SIZE (OBJECT)

The file size of the photo

PHOTO-SUMMARY (OBJECT)

Summary for the photo

PHOTO-TAGS (OBJECT)

A list of tags asscicated with the photo

PHOTO-WIDTH (OBJECT)

The width of the photo in pixels

Undocumented

PHOTO-ABS-ROTATION (OBJECT)

PHOTO-COMMENTING-ENABLED (OBJECT)

PHOTO-EXIF-EXPOSURE (OBJECT)

PHOTO-EXIF-FLASH (OBJECT)

PHOTO-EXIF-FOCALLENGTH (OBJECT)

PHOTO-EXIF-FSTOP (OBJECT)

PHOTO-EXIF-ISO (OBJECT)

PHOTO-EXIF-MAKE (OBJECT)

PHOTO-EXIF-MODEL (OBJECT)

PHOTO-MEDIA-CREDIT (OBJECT)

PHOTO-POSITION (OBJECT)

PHOTO-VERSION (OBJECT)

Private

ALBUM-SUMMARY (OBJECT)

The content of the <atom:summary> node

VARIABLE

Private

*ALLOWED-IMAGE-MIME-TYPES*

A list of MIME types that are allowed when uploading photos

CLASS

Public

ALBUM

Class that represents a single album

PHOTO

Class that represents a single photo in an album.

CONSTANT

Private

Undocumented

+CRLF+