Skip to main content

AppScreenShot

ClassDataClassSource

AppScreenShot(id: int, path_thumbnail: str, path_full: str)

The information of an app screenshot.

Fields​

NameTypeRequired
Description
idintThe ID of the screenshot. It is maintained by each app.
path_thumbnailstrThe url to the thumbnail screenshot.
path_fullstrThe 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​

NameTypeRequired
Description
thumbnailboolIf specified, will download the thumbnail version.

Returns​

NameType
Description
v_1Image | NoneThe downloaded image. If no image can be downloaded, return None.