Hello! I made a GUI that gets all the Products, however, I’m not sure how to do the same to Game passes. I remember there was a HTTP Request to some site to get all the Game passes, but I don’t remember what site it was.
There was an HTTP API for it too, anyone know the link for it? I don’t want to manually add all the websites
I believe you are talking about this api? https://api.roblox.com/marketplace/game-pass-product-info?gamePassId=id
Edit: there is no API to get all gamepasses, but you can check all API’s here: http://api.roblox.com/docs
Let me check, I will message if it doesn’t work
I sadly ended up using this method, as you can’t get all the gamepasses from a game
Hey, there is a Web API for this.
https://games.roblox.com/v1/games/universeId/game-passes?limit=100&sortOrder=Asc
I was working on something using this myself, and I thought it may be useful to you as well (and others in this topic).
You can get your universeId in Roblox using game.GameId
(make sure your game is published).
gives me the error “HttpService is not allowed to access ROBLOX resources” when using getasync
It’s currently not possible to access Roblox Web API’s through HttpService.
One of the ways to deal with this is the usage of proxies. They basically route the request through a different server as a sort of middleman (Google it if you need more information).
There are a couple free proxies you could use, but be advised it’s currently not recommended to use public proxies that you don’t control. They could introduce vulnerabilities, have security flaws or steal/save private information you provide (cookies for example).
A free, public and known Roblox proxy can be found here:
RoProxy.com - A free, rotating proxy for Roblox APIs - Resources / Community Resources - DevForum | Roblox
Hopefully Roblox introduces a native way of doing this without the usage of proxies. Through the Roblox Open Cloud API for example.