Title. I have looked through the API list on the wiki, but haven’t found anything. The closest I’ve found is this script:
local pages = game:GetService("AssetService"):GetGamePlacesAsync()
while true do
for _,place in pairs(pages:GetCurrentPage()) do
print("Name: " .. place.Name)
print("PlaceId: " .. tostring(place.PlaceId))
end
if pages.IsFinished then
break
end
pages:AdvanceToNextPageAsync()
end
The problem with it is that I have to be in the game. A web API would be more useful, especially if I don’t have ownership of the game.
Universes are nowadays referred to as games, while places are places. game.GameId if you use this in relation to in-game to external server use, otherwise you can find the game ID from configuring your game and copying the numeric ID part of the URL https://www.roblox.com/universes/configure?id=<<this part>>#/#basicSettings