account
Contains classes and functions related to the authenticated Roblox account. Not to be confused with users.py or the Account system.
AccountProvider
¶
Provides methods that control the authenticated user's account.
Source code in roblox/account.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
|
__init__(client)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
Client
|
The Client to be used when getting information on an account. |
required |
Source code in roblox/account.py
22 23 24 25 26 27 |
|
get_birthday()
async
¶
Gets the authenticated user's birthday.
Returns:
Type | Description |
---|---|
date
|
The authenticated user's birthday. |
Source code in roblox/account.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
get_description()
async
¶
Gets the authenticated user's description.
Returns:
Type | Description |
---|---|
string
|
The authenticated user's description. |
Source code in roblox/account.py
69 70 71 72 73 74 75 76 77 78 79 80 |
|
set_birthday(birthday, password=None)
async
¶
Changes the authenticated user's birthday. This endpoint may require your password, and requires an unlocked PIN.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
birthday |
date
|
A date object that represents the birthday to update the Client's account to. |
required |
password |
str
|
The password to the Client's account, this is required when changing the birthday. |
None
|
Source code in roblox/account.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
|
set_description(description)
async
¶
Updates the authenticated user's description. This endpoint may require your token, and requires an unlocked PIN.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
description |
string
|
A string object that represents the description to update the Client's account to. |
required |
Source code in roblox/account.py
82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
|