Competier
  1. ladder-entry
Competier
  • api-key
    • Creates and returns a new api key, invalidating the previous one.
      POST
  • ladder
    • Adds a ladder to an account.
      POST
    • Deletes a ladder from an account, including all its entries, ratings and results.
      DELETE
    • Gets ladders of an account.
      GET
  • ladder-entry
    • Adds a self-managed entry to a ladder.
      POST
    • Deletes a ladder-entry from a ladder, including all its ratings and results.
      DELETE
    • Gets ladder entries.
      GET
  • result
    • Adds a game result for a played game.
      POST
    • Deletes a game result by rolling it back, reverting rating changes.
      DELETE
    • Gets game results.
      GET
  • invite
    • Adds an invite.
      POST
    • Accepts an invite.
      PUT
    • Deletes an invite.
      DELETE
    • Gets invites.
      GET
  • account
    • Updates account data.
      PATCH
  • credit
    • Fetches credit info.
      GET
  • matchmaking
  • bulk
  1. ladder-entry

Gets ladder entries.

GET
/v1/ladder-entries
ladder-entry
Gets ladder entries.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Query Params
ladderId
array[integer]
required
Id of ladder
amount
array[integer]
optional
Amount of latest ladder-entries to get. Default and maximum is 50.
offset
array[integer]
optional
Amount of latest ladder-entries to skip. For example, if you have already populated an entry list with 50 ladder-entries, but then your user wants to see more entries, you would fetch those using offset=50.
orderByRating
array[boolean]
optional
By default, entries are ordered by newest added. You can instead specify entries to be ordered by highest rating, resulting in a leaderboard of your ladder.
resultId
array[integer]
optional
Only get entries that participated in the result with this id. This can also be called by non-admins if they themselves participated in the given result, or if the allowFullResultHistory permission is set for its ladder. Mutually exclusive with all other query parameters.

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.competier.net/v1/ladder-entries?ladderId&amount&offset&orderByRating&resultId'

Responses

🟢200OK
application/json
Body
array of:
id
number 
read-onlyoptional
References a ladder-entry.
Example:
0
ladderId
integer 
required
id of the ladder that this ladder-entry belongs to.
Example:
0
name
string 
required
The display name for this ladder entry.
Example:
Jane Doe
rating
integer 
optional
Allows manually setting rating, for example when moving already existing ladders with ongoing ratings to Competier. Leave as default otherwise.
Example:
1500
reliabilityDeviation
integer 
optional
For Glicko algorithms: Allows manually setting relaibility deviation, for example when moving already existing ladders with ongoing ratings to Competier. Leave as default otherwise.
Example:
350
accountIds
array[integer]
read-onlyoptional
IDs of accounts represented by this entry. A ladder-entry representing real accounts will be generated in your ladder if those accounts accept invites to your ladder.
Example
[
  {
    "id": 0,
    "ladderId": 0,
    "name": "Jane Doe",
    "rating": 1500,
    "reliabilityDeviation": 350,
    "accountIds": [
      0
    ]
  }
]
🟠400Bad request
🟠401Unauthorized
🟠429Too Many Requests
Previous
Deletes a ladder-entry from a ladder, including all its ratings and results.
Next
Adds a game result for a played game.
Built with