MCPcopy Create free account
hub / github.com/codecombat/codecombat / getLeaderboardPlayerCount

Function getLeaderboardPlayerCount

app/core/api/leaderboard.js:18–20  ·  view source on GitHub ↗
(levelOriginal, options)

Source from the content-addressed store, hash-verified

16}
17
18export const getLeaderboardPlayerCount = (levelOriginal, options) => {
19 return fetchJson(`/db/level/${levelOriginal}/rankings-count?${$.param(options)}`)
20}
21
22export const getCodePointsLeaderboard = (clanId, options) => {
23 return fetchJson(`/db/clan/${clanId || '-'}/code-points?${$.param(options)}`)

Calls

no outgoing calls

Tested by

no test coverage detected