Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to get the most pouplar games right now?

Asked by
znepb 17
5 years ago

How would I get the most popular games right now, and their visits and how many people are playing them? Thanks!

0
httpservice LoganboyInCO 150 — 5y
0
That's not very helpful... but ok. znepb 17 — 5y
0
use httpservice User#23365 30 — 5y
0
Use HttpService and some proxy on one of the apis from this site: http://robloxwebapi.weebly.com/games.html Amiaa16 3227 — 5y
0
if you really want to be a dweeb you can directly copy those games by searching for their uncopylocked cousins DeceptiveCaster 3761 — 5y

2 answers

Log in to vote
0
Answered by
Amiaa16 3227 Moderation Voter Community Moderator
5 years ago

For those who are too lazy to actually read the question's description, this guy wants to get the front page games, he is not asking how to make his game popular, so stop putting "Too Broad" moderation claims on this question.

As for the question itself, here is a list of web apis which let you grab the front page games. The middle one looks promising to me.

You are going to need to use HttpService:GetAsync() with a proxy such as this one in order to make a request to the api. From that point, use HttpService:JSONDecode().

Example:

local hs = game:GetService("HttpService")
local function GetFrontPageGames()
    local result = hs:GetAsync("http://rprxy.xyz/games/list-json", true)
    return hs:JSONDecode(result)
end

local games = GetFrontPageGames()
print("The most popular game is", games[1].Name)
Ad
Log in to vote
-2
Answered by 5 years ago

How to get your game popular is by scripting and building good games with purpose which can take awhile but once your there you should be able to promote if you buy robux and get people to play your amazing game!

Answer this question