Represents a single user.
More...
List of all members.
Public Member Functions |
| def | __init__ |
| | Initialises a User object.
|
| def | getAccountInfo |
| | Get information about the user.
|
| def | getMyVideosFeed |
| | Get the user's "My Videos" feed.
|
|
def | logout |
| | Logout the user object.
|
Private Member Functions |
| def | _login |
| | Authenticate the user object.
|
Private Attributes |
|
| _cookiePolicy |
|
| _cookieJar |
|
| _cookieHandler |
|
| _proxyHandler |
|
| _opener |
|
| _loggedIn |
Detailed Description
Represents a single user.
Constructor & Destructor Documentation
| def SbsOnDemand::User::User::__init__ |
( |
|
self, |
|
|
|
params |
|
) |
| |
Initialises a User object.
- Parameters:
-
| params | a dict containing username and password |
Member Function Documentation
| def SbsOnDemand::User::User::_login |
( |
|
self, |
|
|
|
username, |
|
|
|
password |
|
) |
| [private] |
Authenticate the user object.
- Parameters:
-
| username | username |
| password | password in cleartext |
- Todo:
- implement and document function
| def SbsOnDemand::User::User::getAccountInfo |
( |
|
self | ) |
|
Get information about the user.
- Todo:
- implement and document function
| def SbsOnDemand::User::User::getMyVideosFeed |
( |
|
self | ) |
|
Get the user's "My Videos" feed.
- Todo:
- implement and document function
The documentation for this class was generated from the following file: