Getting started
Make sure you have your API key and Workspace ID to hand. You can find your Workspace ID in the URL of your workspace. For example, if your workspace URL ishttps://app.hyra.io/123456
, your Workspace ID is 123456
.
Your API key can be found in the Workspace Settings under Developer API.
Require the Module
At the top of the Server Script where you want to use Ranking, you must require the module.Ranking a user
In your event or function, you can rank a user by calling theSetRank
function.
success
boolean in the callback.