You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? I want to have my bot handle ratelimits, but this has to be done through either the 429 errors, or the Retry-After method.However, roblox doesn’t have the Retry-After header during 429 requests. Does anyone know how to roughly get the ratelimits on the web API’s?
What is the issue? Roblox doesn’t have a public documentation about their web API ratelimits
What solutions have you tried so far? Not really, either incomplete or abanded/outdated
Ohh right, forgot to mention. This is not inside Roblox, it’s Java.
(For the web API’s, like Groups Api )
iBuzzes
(Silly_Ryan)
December 21, 2021, 5:17pm
#3
You can use pcall to check if the request was successful or not, if the request fails you can try again later.
1 Like
Ohh right, forgot to mention. This is not inside Roblox, it’s Java.
zaydoudou
(Codoudou)
December 21, 2021, 5:58pm
#5
Why would you use java for sending http requests? Why not node.js or python?
On the other note, the rate limit is probably 5-3 requests per minute
1 Like
Because my bot is made in Java. Everyone has their own language for programming.
Not 100% sure on that, I have had moments where I could send 2 requests per second to:
https://groups.roblox.com/v2/users/25900585/groups/roles and this for around 3000 requests
zaydoudou
(Codoudou)
December 21, 2021, 7:37pm
#8
What i meant is after after sending 10-3 requests in a short period of time, roblox will just rate limit you until the next minute passes
So roblox ratelimits by the minute? Could I wait for 429’s and wait a minute before continuing with requests?
(At least, if any 429’s apply)
zaydoudou
(Codoudou)
December 27, 2021, 4:30pm
#11
You can probably do that. Although its pretty inefficient
It’s the best I got, unless someone else has a better idea. I already use a bucket based system. But I have no idea what the ratelimits roughly are
boxrum
(Boxrum)
May 31, 2022, 11:44pm
#13
Roblox Http Queue
A library to queue Roblox HTTP Requests for all your different external services.
Current Version: 1.0.0
Disclaimer: This project is currently in a Release Candidate status. This means it should work, but is not completely stable yet. Make sure to report me bugs!
Writing code to make requests is simple, and maybe fun. Writing code that gracefully handles everything that can go wrong in a request… Well, that’s a boring thing to do.
This library is intended to help easing…
you should check this out, it appears to be open source.
Java/outside of roblox, not Lua
1 Like