instances
This module contains classes intended to parse and deal with data from Roblox item instance information endpoints.
AssetInstance
¶
Bases: ItemInstance
Represents an instance of a Roblox asset.
Source code in roblox/instances.py
51 52 53 54 55 56 57 58 59 60 |
|
BadgeInstance
¶
Bases: ItemInstance
Represents an instance of a Roblox badge.
Source code in roblox/instances.py
63 64 65 66 67 68 69 70 71 72 |
|
GamePassInstance
¶
Bases: ItemInstance
Represents an instance of a Roblox gamepass.
Source code in roblox/instances.py
75 76 77 78 79 80 81 82 83 84 |
|
InstanceType
¶
Bases: Enum
Represents an asset instance type.
Source code in roblox/instances.py
20 21 22 23 24 25 26 |
|
ItemInstance
¶
Bases: BaseInstance
Represents an instance of a Roblox item of some kind.
Attributes:
Name | Type | Description |
---|---|---|
_client |
Client
|
The Client object, which is passed to all objects this Client generates. |
Source code in roblox/instances.py
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
|
__init__(client, data)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
Client
|
The Client. |
required |
data |
dict
|
The data from the endpoint. |
required |
Source code in roblox/instances.py
37 38 39 40 41 42 43 44 45 46 47 48 |
|