gameThumbnailsFromIds
Gets thumbnail for multiple thumbnail ids that belong to a specified universe.
Parameters
Name | Type | Description |
---|---|---|
universeId | Identifier | The id of the universe to get the thumbnails from. |
thumbnailIds | ArrayNonEmptyIfConst | The ids of the thumbnails. |
size? | GameThumbnailSize | The thumbnails size (formatted as {width}x{height}). |
format? | ThumbnailFormat | Specifies the format of the thumbnails. |
isCircular? | boolean | Dictates if the thumbnails should be masked by a circle. |
Example
const { data: gameThumbnails } = await ClassicThumbnailsApi.gameThumbnailsFromIds({
universeId: 1685831367,
thumbnailIds: [5030792576],
});
Example Data
{
"5030792576": {
state: "Completed",
imageUrl: "https://tr.rbxcdn.com/e997db8b4e41b08acb49b9d2bb021b23/768/432/Image/Png",
},
}
Endpoint
GET /v1/games/{universeId}/thumbnails