How can I get the amount of visits on a game that's not my own?

Hello!

I’m looking to make an investing system in my game which rewards players with Cash if they invest in a game which does well, but takes away cash if they invest in a bad game. I wanted to base it around plays or favorites. I don’t know how to gather information about a game which isn’t my own, though.

Thanks!

1 Like

The API at games.roblox.com should do this. Specifically this one:
https://games.roblox.com/docs#!/Games/get_v1_games

You have to give it the universe ID though, not the place ID. You can get the universe ID from the place ID with this one:
https://games.roblox.com/docs#!/Games/get_v1_games_multiget_place_details

4 Likes

Sweet! Sorry for the late reply. So, just to clarify, this will work for games like Bee Swarm Simulator, Vesteria, or your games, for example? (I can get other games, not just mine?)

Yes it will work. You can send API http requests on the website @klga provided (‘Try it out’ button) and check how it works.

Ah, okay. Thanks so much, guys!