In simple, is it possible to get the name of a game without using HTTP Service?
I had a pot-shot at marketplaceService:GetProductInfo(game.GameId, Enum.InfoType.Asset).Name
however that only returns the name of assets and gamepasses.
I’ll be retrieving the name for games I don’t own therefore I can’t use HTTP Service or define the game’s name beforehand:
MarketplaceService:GetProductInfo works as expected for me:
local marketplaceService = game:GetService("MarketplaceService")
local isSuccessful, info = pcall(marketplaceService.GetProductInfo, marketplaceService, 606849621)
if isSuccessful then
print(info.Name) --> Jailbreak
end
You need to pass a place ID, not a game ID (DataModel.PlaceId).
Yeah. Unfortunately there doesn’t seem to be a way to get the name of a game, though there is one to find the name of a place. Places are assets, after all.
It seems that Dandy’s already gotten you what you need though. Your title caused me confusion because it uses common-known terminology, not direct terminology.