Review your in-game stats with the GameStatsAPI!

You dont directly require RobloSecurity to use the API.

Roblox staff probably already has access to your RobloSecurity anyways. :thinking:

from what ive heard, not fully, i dont know, i dont think either of us are staff

Indeed, Thanks for your concern nonetheless!

Hello! This seems very useful, but I keep getting the error “HTTP 404 (Not Found)”


local servers = stats:RequestServersAsync(2317712696) -- The Wild West

print(servers)

Thought it was the placeiD, but it doesn’t work even if I set it to my own game?

Never mind, apparently a server type is required. (You should probably clarify)

REALLY useful module dude, thanks. This is going to be used in my game coming very very soon.

I think I’ve found a bug with RequestServersAsync. It all works perfectly until I set a PageSizeLimit - which always gives me an HTTP 404 (Bad Request)

This works fine:

 stats:RequestServersAsync(targetPlace, "Public")

But this doesn’t: (even though the default is 10 anyway)

stats:RequestServersAsync(targetPlace, "Public", 10)

I’m guessing it’s an issue with URL formatting but I don’t know how that works really so I just have to wait.

1 Like

You should probably grab a copy meanwhile,
I plan to re-organize the thread as it is very messy and I only included a documentation inside of the actual module!

Thanks for letting me know, I’ll be sure to look into it! :slight_smile:

1 Like

I fixed it, it was a URL formatting issue. I just had to check the website to get the right format.

On line 120,

change this:

url = url.."&limit="..PageSizeLimit

to this:

url = url.."?sortOrder=Asc&limit="..PageSizeLimit
1 Like

Indeed, I had fixed this issue a few hours ago, I apologize for not informing you about the update. :worried:

Thanks for catching that!

1 Like

Thanks again for the module. This is extremely, extremely useful.

Being used to make a server list in my production game. (It’s not actually open yet, these aren’t my game’s servers lol)

2 Likes

Hold on so does that mean that the api will instantly get my ROBLOSECURITY when executing some functions or i have to insert my ROBLOSECURITY?

1 Like

I probably should have clarified this sooner haha! :sweat_smile:

As mentioned on the original post, this API works off of the official Roblox Games API.
This means that I only Imported the offical API into Roblox studio to make it easier to use.

Some functions on the Roblox Games API are not inside of the module script because they require ROBLOSECURITY cookies which are not really ideal when viewing your in game stats.

No this does not mean that the API module will require or get your ROBLOSECURITY cookie as the functions that do require this cookie are not inside of the actual API module.

1 Like

The RequestVisitsAsync() function appears to be slightly broken as it only seems to be getting games that are NOT on a users profile.

I’ll release a fix sometime tomorrow or the day after, I apologize!

I apologize to anyone in advanced who is having issues with the module, I plan to re-release the module in a couple of days - weeks.

The reason as to why is because I want to add a more efficient set of functions to the API as well as improving previous functions like RequestVisitsAsync()! :sweat_smile:

Have you released a new version of this yet? It seems to not be working for me.

I have not lately released a new version but I plan to rework it when I have time. :grin:

1 Like

It won’t work now, because rprxy has been shutdowned, please make it work with for example ProxyService or how it was @Cosmental

Could you please elaborate as to what rprxy is? This was originally made to work with Roblox’s default HTTPService but the script may be out of date at this point and a rework is currently highly unlikely.

It was a proxy, but it is no longer available

Thanks for clarifying! However, this module should still work with the normal HTTPService provided by Roblox.

If anything, I would either suggest using your own proxy or finding alternate solutions to these problems as this isn’t a problem with the module. The module itself may have even stopped working at this point and I do not currently plan on reworking/fixing it.