User

class tekdrive.models.User(tekdrive: TekDrive)
me() → tekdrive.models.drive.user.DriveUser

Get user details for the authenticated user.

Examples

Fetch user details:

me = td.user.me()

Get the plan the user is on:

plan = td.user.me().plan
Returns

Drive User

usage() → tekdrive.models.usage.Usage

Get TekDrive usage details for the authenticated user.

Examples

Fetch usage details:

usage_info = td.user.usage()