AppScreenShot
ClassDataClassSource
AppScreenShot(id: int, path_thumbnail: str, path_full: str)
The information of an app screenshot.
Fields
| Name | Type | Required | |
|---|---|---|---|
id | int | The ID of the screenshot. It is maintained by each app. | |
path_thumbnail | str | The url to the thumbnail screenshot. | |
path_full | str | The url to the full screenshot. |
Methods
get_image
v_1: Image | None = self.get_image(thumbnail: bool = False)
Download the screenshot image by its url.
Requires
| Name | Type | Required | |
|---|---|---|---|
thumbnail | bool | If specified, will download the thumbnail version. |
Returns
| Name | Type | |
|---|---|---|
v_1 | Image | None | The downloaded image. If no image can be downloaded, return None. |