GData.PicasaWebUser

g GData.Entry GData.Entry GData.PicasaWebUser GData.PicasaWebUser GData.Entry->GData.PicasaWebUser GData.Parsable GData.Parsable GData.Parsable->GData.Entry GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Entry (24), GData.Parsable (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_max_photos_per_album ()

get_nickname ()

get_quota_current ()

get_quota_limit ()

get_thumbnail_uri ()

get_user ()

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7)

Properties

Inherited:

GData.Entry (10), GData.Parsable (1)

Name

Type

Flags

Short Description

max-photos-per-album

int

r

The maximum number of photos allowed in an album.

nickname

str

r

The user’s nickname.

quota-current

int

r

The current amount of space, in bytes, already used by the user.

quota-limit

int

r

The total amount of space, in bytes, available to the user.

thumbnail-uri

str

r

The URI of a thumbnail-sized portrait of the user.

user

str

r

The username of the user.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Entry

r

Class Details

class GData.PicasaWebUser(**kwargs)
Bases:

GData.Entry

Abstract:

No

Structure:

GData.PicasaWebUserClass

All the fields in the GData.PicasaWebUser structure are private and should never be accessed directly.

New in version 0.6.0.

get_max_photos_per_album()
Returns:

the maximum number of photos an album for this account can hold, or -1

Return type:

int

Gets the GData.PicasaWebUser :max-photos-per-album property. Note that this information is not available when accessing feeds which we haven’t authenticated, and 0 is returned.

New in version 0.6.0.

get_nickname()
Returns:

the nickname of the feed’s user’s nickname, or None

Return type:

str

Gets the GData.PicasaWebUser :nickname property.

New in version 0.6.0.

get_quota_current()
Returns:

the current number of bytes in use by this feed’s account, or -1

Return type:

int

Gets the GData.PicasaWebUser :quota-current property. Note that this information is not available when accessing feeds which we haven’t authenticated, and 0 is returned.

New in version 0.6.0.

get_quota_limit()
Returns:

the maximum capacity in bytes for this feed’s account, or -1

Return type:

int

Gets the GData.PicasaWebUser :quota-limit property. Note that this information is not available when accessing feeds which we haven’t authenticated, and 0 is returned.

New in version 0.6.0.

get_thumbnail_uri()
Returns:

the URI for the thumbnail of the account, or None

Return type:

str

Gets the GData.PicasaWebUser :thumbnail-uri property.

New in version 0.6.0.

get_user()
Returns:

the feed’s user, or None

Return type:

str

Gets the GData.PicasaWebUser :user property.

New in version 0.6.0.

Property Details

GData.PicasaWebUser.props.max_photos_per_album
Name:

max-photos-per-album

Type:

int

Default Value:

-1

Flags:

READABLE

The maximum number of photos allowed in an album. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_maxPhotosPerAlbum

If the GData.PicasaWebUser does not represent the currently authenticated user, this will be -1.

New in version 0.6.0.

GData.PicasaWebUser.props.nickname
Name:

nickname

Type:

str

Default Value:

None

Flags:

READABLE

The user’s nickname. This is a user-specified value that should be used when referring to the user by name. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_nickname

New in version 0.6.0.

GData.PicasaWebUser.props.quota_current
Name:

quota-current

Type:

int

Default Value:

-1

Flags:

READABLE

The current amount of space, in bytes, already used by the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_quotacurrent

If the GData.PicasaWebUser does not represent the currently authenticated user, this will be -1.

New in version 0.6.0.

GData.PicasaWebUser.props.quota_limit
Name:

quota-limit

Type:

int

Default Value:

-1

Flags:

READABLE

The total amount of space, in bytes, available to the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_quotalimit

If the GData.PicasaWebUser does not represent the currently authenticated user, this will be -1.

New in version 0.6.0.

GData.PicasaWebUser.props.thumbnail_uri
Name:

thumbnail-uri

Type:

str

Default Value:

None

Flags:

READABLE

The URI of a thumbnail-sized portrait of the user. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_thumbnail

New in version 0.6.0.

GData.PicasaWebUser.props.user
Name:

user

Type:

str

Default Value:

None

Flags:

READABLE

The username of the user, as seen in feed URLs. http://code.google.com/apis/picasaweb/docs/2.0/reference.html#gphoto_user

New in version 0.6.0.