Im not trying to get gamepasses from a user, from the game itself
I dont really know if its possible or not
Heres the one that does badges
local url = "https://badges.roproxy.com/v1/universes/" .. universeId .. "/badges?limit=100&sortOrder=Asc"
The only topics i found was trying to get gamepasses from userIDs which i need it from universeID or place ID
It’s possible.
https://games.roproxy.com/v1/games/{UniversalId}/game-passes?limit={Limit}&sortOrder=Asc
And you can get Universal ID by this URL:
https://apis.roproxy.com/universes/v1/places/{PlaceId}/universe
7eoeb
(beoe7)
3
That API is being deprecated in a matter of days
7eoeb
(beoe7)
5
Sorry, I was misunderstood. I got it now.
Alright then, you might be better using this URL instead of it following the topic above:
https://apis.roblox.com/game-passes/v1/universes/{UniversalId}/game-passes?passView={}&pageSize={}&pageToken={}