Skip to content

elements_score

Francisco Dias edited this page Aug 20, 2026 · 1 revision

Score

The Score endpoints.

Functions

This module offers a collection of functions designed to address specific tasks and provide utilities for various purposes. Explore the available functions to make the most of the functionalities provided by this module.



Back To Top

elements_create_score

Posts a single score for the currently logged-in profile. Conceptually, this is creationg a new resource, however the server may opt to overwrite the existing identifier if it sees fit.

This function operates asynchronously, which means that it does not immediately return the requested result. Instead, upon completion of the task, it will trigger the Callback.


Syntax:

elements_create_score(_leaderboard_name_or_id, _body=undefined, _callback=undefined)
Argument Type Description
_leaderboard_name_or_id String The name or id of the leaderboard.
_body ElementsScore The body to be included in the http request.
_callback Function Callback with signature (status, data, request).

Returns:

N/A


Triggers:

Callback

Key Type Description
_status Real
_data ElementsScore or Undefined
_request ElementsRequest


Clone this wiki locally