Skip to main content

AppQuerySimple

ClassDataClassSource

AppQuerySimple(
type: str,
name: str,
id: int,
tiny_image: str,
metascore: int | None = None,
platforms: PlatformInfo | None = None
)

The query item returned by searching-the-app-by-name.

Fields​

NameTypeRequired
Description
typestrThe type of the queried item. It should be app for most cases.
namestrThe app name.
idintThe app ID.
tiny_imagestrThe URL to the tiny image of the queried app.
metascoreint | NoneThe metascore.
platformsPlatformInfo | NoneThe supported platform.

Methods​

get_tiny_image​

v_1: Image | None = self.get_tiny_image()

Download the tiny image by its url.

Returns​

NameType
Description
v_1Image | NoneGet the tiny image object if it exists.