Hey guys! I’m scripting a website and I’d like to get the icon of the game without having to change it every time I change the game’s icon
Is there any API for the game’s Icon?
Thanks!
EDIT: This is the one I found, but it won’t give an image
Hey guys! I’m scripting a website and I’d like to get the icon of the game without having to change it every time I change the game’s icon
Is there any API for the game’s Icon?
Thanks!
EDIT: This is the one I found, but it won’t give an image
The API endpoint you’re trying to use requires universe IDs, not place IDs. Assuming 8737602449 is a place ID, the universe ID should be 3317679266.
{
"data": [
{
"targetId": 3317679266,
"state": "Completed",
"imageUrl": "https://tr.rbxcdn.com/d9297b09371f3b7097357d69b2c23907/50/50/Image/Png"
}
]
}
There’s another endpoint for place IDs (/v1/places/gameicons
) which may be what you’re looking for.
{
"data": [
{
"targetId": 8737602449,
"state": "Completed",
"imageUrl": "https://tr.rbxcdn.com/d9297b09371f3b7097357d69b2c23907/50/50/Image/Png"
}
]
}
So how do you actually get universe ID’s?
You could use https://games.roblox.com/v1/games/multiget-place-details (semi-broken link), which returns a lot of data including the universe ID.
https://games.roblox.com/v1/games/multiget-place-details?placeIds=8737602449
[
{
"placeId": 8737602449,
"name": "PLS DONATE 💸",
"description": "💸 PLS DONATE is a game where you can claim stands and make it say anything you want! You can donate or make Robux by having clothing or gamepasses on sale. Your items for sale will automagically appear on your stand! \r\n\r\n🔴 https://www.roblox.com/events/836776427297013790\r\n\r\n⚠️ Donations are done through clothing and gamepass sales, which can take up to a week to receive. The Robux shown in-game is the price at the time of sale. The Robux you receive may be less due to Roblox taxes. You can see your pending Robux here: https://www.roblox.com/transactions \r\n\r\n⭐ Please consider liking and favoriting the game for more updates, also join the Quataun group for future perks! https://www.roblox.com/groups/12121240/Quataun \r\n\r\nGame Design: @haz3mn (roblox) \r\nProgramming: @fewkz, @haz3mn (roblox) \r\nMap & Models: @Candelzoo (roblox) \r\nBooth Models: @NOR0i, @Cupiful\r\nSound Design: @AugmentMusic (roblox) \r\nVisual Effects: @kirbyzaz (roblox) \r\nDigital Distribution: Quataun (roblox group)",
"sourceName": "PLS DONATE 💸",
"sourceDescription": "💸 PLS DONATE is a game where you can claim stands and make it say anything you want! You can donate or make Robux by having clothing or gamepasses on sale. Your items for sale will automagically appear on your stand! \r\n\r\n🔴 https://www.roblox.com/events/836776427297013790\r\n\r\n⚠️ Donations are done through clothing and gamepass sales, which can take up to a week to receive. The Robux shown in-game is the price at the time of sale. The Robux you receive may be less due to Roblox taxes. You can see your pending Robux here: https://www.roblox.com/transactions \r\n\r\n⭐ Please consider liking and favoriting the game for more updates, also join the Quataun group for future perks! https://www.roblox.com/groups/12121240/Quataun \r\n\r\nGame Design: @haz3mn (roblox) \r\nProgramming: @fewkz, @haz3mn (roblox) \r\nMap & Models: @Candelzoo (roblox) \r\nBooth Models: @NOR0i, @Cupiful\r\nSound Design: @AugmentMusic (roblox) \r\nVisual Effects: @kirbyzaz (roblox) \r\nDigital Distribution: Quataun (roblox group)",
"url": "https://www.roblox.com/games/8737602449/PLS-DONATE",
"builder": "haz3mn",
"builderId": 151848836,
"hasVerifiedBadge": true,
"isPlayable": true,
"reasonProhibited": "None",
"universeId": 3317679266,
"universeRootPlaceId": 8737602449,
"price": 0,
"imageToken": "T_8737602449_7549"
}
]
~~ It works now nvm!!!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.