Jump to content

Adding Roblox API to HTML


Recommended Posts

Hello, I am trying to get the API "https://games.roblox.com/docs#!/Games/get_v1_games_placeId_servers_serverType" for the data "MaxPlayers and Playing" to work using a game instances server "ID".

 

Using Adopt Me! as an Example, i'd use their GameID (920587237) to grab their games servers, in this case one of the servers IDs are (bf22193d-a2a5-45dc-8986-66362ab0a870), which in returns gives you the max players, and players playing, which is; 48/48, I am wanting to graph something like this in HTML, as screenshotted in the attached file.

 

If someone can help me figure out how to do this, i'd appreciate it! Thanks!

 

A more better, yet simple version of the question.

I am wanting to use Robloxs API to grab a specific games, specific servers ID and make it into a "gametracker" like system, where it tracks and updates how many players are online, and available slots on said server.

 

8692ed5c3553ab09975f16fa50009808.png

Share this post


Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.