Skip to content

Latest commit

 

History

History
143 lines (102 loc) · 5.01 KB

todo.md

File metadata and controls

143 lines (102 loc) · 5.01 KB

TODO

Endpoints found

Get ranks in every category of a user

Endpoint: CodinGamer/findRankingPoints
JSON: [user id]
Additional info: none
Source

Get basic info about a challenge

Endpoint: Challenge/findChallengeMinimalInfoByChallengePublicId
JSON: [challenge public id]
Additional info: none
Source

Get info about a challenge

Endpoint: Challenge/findWorldCupByPublicId
JSON: [challenge public id, user id/null]
Additional info: none
Source: network tab while searching on codingame

Get info about all challenges

Endpoint: Challenge/findAllChallenges
JSON: []
Additional info: some attributes like finished are always false
Source

Get number of done achievments of a user and number of total achievments

Endpoint: CodinGamer/findTotalAchievementProgress
JSON: [user public handle]
Additional info: none
Source

Get all done challenges and puzzles of a user

Endpoint: CodinGamer/getMyConsoleInformation
JSON: [user id]
Additional info: none
Source

Get n last activities (challenges, clashes, ...) of a user

Endpoint: LastActivities/getLastActivities
JSON: [user id, number of activities]
Additional info: Login needed
Source

Get basic information about every puzzle

Endpoint: Leaderboards/findAllPuzzleLeaderboards
JSON: []
Additional info: none
Source

Get ranking of a user in a challenge

Endpoint: Leaderboards/getCodinGamerChallengeRanking
JSON: [user id, challenge public id, "global"]
Additional info: none
Source

Get public clash of code ranking of a user

Endpoint: Leaderboards/getCodinGamerClashRanking
JSON: [user id, "global", null]
Additional info: none
Source

Get global ranking of a user

Endpoint: Leaderboards/getCodinGamerGlobalRankingByHandle
JSON: [user public handle, "GENERAL", "global", null]
Additional info: none
Source

Get number of solved puzzles by programming language

Endpoint: Puzzle/countSolvedPuzzlesByProgrammingLanguage
JSON: [user id]
Additional info: Login needed
Source

Get puzzles info by ids

Endpoint: Puzzle/findProgressByIds
JSON: [[puzzle ids], user id, language id]
Additional info: Language id: 1 for french, 2 for english
Source

Get puzzle info by pretty id

Endpoint: Puzzle/findProgressByPrettyId
JSON: [puzzle pretty id, user id]
Additional info: Login needed
Source

Register

Endpoint: CodinGamer/registerSite
JSON: [{"email": email, "password": password, "recaptchaResponse": recaptcha}, "CODINGAME", whether to subscribe to the newsletter]
Additional info: Recaptcha needed
Source: network tab while searching on codingame

Follow a codingamer

Endpoint: CodinGamer/setFollowing
JSON: [self id, codingamer to follow id, true]
Additional info: Login needed
Source: network tab while searching on codingame

Play clash of code

Endpoint: ClashOfCode/playClash
JSON: [user id, {"SHORT":true}, recaptcha]
Additional info: Recaptcha and login needed
Source: network tab while searching on codingame

Mark notifications as seen

Endpoint: Notification/markAsSeen
JSON: [user id, [notification ids...]]
Additional info: Login needed
Source: network tab while searching on codingame

Mark notifications as read

Endpoint: Notification/markAsRead
JSON: [user id, [notification ids...]]
Additional info: Login needed
Source: network tab while searching on codingame

Create private clash of code

Endpoint: ClashOfCode/createPrivateClash
JSON: [user id, {SHORT: true}, programming languages, modes]
Additional info: Login needed
Source: network tab while searching on codingame