Medal.getList
Loads a list of medal objects.Parameters:
app_id - string
The App ID of another, approved app to load medals from. (optional)
Returns:
app_id - string
The App ID of any external app these medals were loaded from.
medals - array<Medal>
An array of medal objects.
Medal.getMedalScore
Loads the user's current medal score.Returns:
medal_score - int
The user's medal score.
Medal.unlock
Unlocks a medal.Parameters:
id - int
The numeric ID of the medal to unlock.
Returns:
medal - Medal
The medal that was unlocked.
medal_score - int
The user's new medal score.
This method can use [wiki:wiki/creator-resources/newgrounds-apis/newgrounds-io/encryption encryption].