places
This module contains classes intended to parse and deal with data from Roblox place information endpoints.
Place
¶
Bases: BasePlace
Represents a Roblox place.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
id of the place. |
name |
str
|
Name of the place. |
description |
str
|
Description of the place. |
url |
str
|
URL for the place. |
builder |
str
|
The name of the user or group who owns the place. |
builder_id |
int
|
The ID of the player or group who owns the place. |
is_playable |
bool
|
Whether the authenticated user can play this game. |
reason_prohibited |
str
|
If the place is not playable, contains the reason why the user cannot play the game. |
universe |
BaseUniverse
|
The BaseUniverse that contains this place. |
universe_root_place |
BasePlace
|
The root place that the universe contains. |
price |
int
|
How much it costs to play the game. |
image_token |
str
|
Can be used to generate thumbnails for this place. |
has_verified_badge |
bool
|
If the place has a verified badge. |
Source code in roblox/places.py
14 15 16 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 |
|
__init__(client, data)
¶
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client |
Client
|
The Client object, which is passed to all objects this Client generates. |
required |
data |
dict
|
data to make the magic happen. |
required |
Source code in roblox/places.py
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 |
|