RestExtras.YoutubeProxy

g GObject.Object GObject.Object Rest.Proxy Rest.Proxy GObject.Object->Rest.Proxy RestExtras.YoutubeProxy RestExtras.YoutubeProxy Rest.Proxy->RestExtras.YoutubeProxy

Subclasses:

None

Methods

Inherited:

Rest.Proxy (6), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (developer_key)

class

new_with_auth (developer_key, user_auth)

set_user_auth (user_auth)

upload_async (filename, fields, incomplete, callback, weak_object, *user_data)

Virtual Methods

Inherited:

Rest.Proxy (2), GObject.Object (7)

Properties

Inherited:

Rest.Proxy (8)

Name

Type

Flags

Short Description

developer-key

str

r/w/co

The developer API key

user-auth

str

r/w

The ClientLogin token

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Rest.Proxy

r

Class Details

class RestExtras.YoutubeProxy(**kwargs)
Bases:

Rest.Proxy

Abstract:

No

Structure:

RestExtras.YoutubeProxyClass

classmethod new(developer_key)
Parameters:

developer_key (str) –

Return type:

Rest.Proxy

classmethod new_with_auth(developer_key, user_auth)
Parameters:
  • developer_key (str) –

  • user_auth (str) –

Return type:

Rest.Proxy

set_user_auth(user_auth)
Parameters:

user_auth (str) –

upload_async(filename, fields, incomplete, callback, weak_object, *user_data)
Parameters:
Raises:

GLib.Error

Returns:

True, or False if the file could not be opened

Return type:

bool

Upload a file.

Property Details

RestExtras.YoutubeProxy.props.developer_key
Name:

developer-key

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The developer API key

RestExtras.YoutubeProxy.props.user_auth
Name:

user-auth

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The ClientLogin token