gamesThumbnails
Parameters
Name | Type | Description |
---|---|---|
universeIds | ArrayNonEmptyIfConst | The ids of the universes to get the thumbnail icons from. |
returnPolicy | 🤷 | The policy to use in selecting the thumbnail icons to return. |
size? | GameThumbnailSize | The thumbnail icons size (formatted as {width}x{height}). |
format? | ThumbnailFormat | Specifies the format of the thumbnail icons. |
isCircular? | boolean | Dictates if the thumbnail icons should be masked by a circle. |
Example
const { data: gamesIcons } = await ClassicThumbnailsApi.gamesIcons({ universeIds: [1685831367] });
Example Data
{
"1685831367": {
state: "Completed",
imageUrl: "https://tr.rbxcdn.com/7c1bf96fefde7b761e7b86bedf6fdca3/512/512/Image/Png",
},
}
Endpoint
GET /v1/games/icons