I am wanting to use the Roblox web API for a project of my discord bot, I don’t know how to get the emblem id or anything, it seems like it was removed from the API.
local groups = game:GetService"GroupService"
local getGroupInfo = groups.GetGroupInfoAsync
local success, result = pcall(getGroupInfo, groups, 1)
if success then
if result then
print(result.EmblemUrl)
end
else
warn(result)
end
https://developer.roblox.com/en-us/api-reference/function/GroupService/GetGroupInfoAsync
EmblemUrl
field.
Please read the title. Roblox Web Api, also your code is incorrect…
1 Like
No it isn’t.
2 Likes
https://thumbnails.roblox.com/v1/groups/icons?groupIds=1&size=420x420&format=Png&isCircular=false
https://tr.rbxcdn.com/cc127f5a18562078d7fbd79e6df16cbf/420/420/Image/Png
Replace groupIds
with one or more group IDs, multiple group IDs must be delimited by a comma.
Hi! One thing you could try is dowloading the group’s icon and uploading it to Roblox Studio, which will give you the asset ID.