I’ve been testing out the new CloudAPI with a discord.js bot. I was planning on making an interactable command with the Discord bot to retrieve a player’s leaderstat from the game, and then listing the leaderstat in an embed.
Is there any possible way to do this? So far, I’ve only seen sending data through the Discord bot, but nothing on getting a response back from Roblox studio.
That really didn’t answer my question
They only dropped a link, but that link is what you’re looking for. With the Open Cloud API, you can fetch data from your leaderboard without requiring a server in your game to run.
External leaderboards are even mentioned as use case!
What if I were just trying to retrieve a live person’s profile (via ProfileService) with CloudAPI? Is that even possible?
Yes, that is possible. The article I linked shows both the API and examples which you can then convert to NodeJS.