get_user_contest_ranking
Retrieve LeetCode user contest rankings, including participation history, overall rank, and performance metrics, tailored by username and participation status.
Instructions
Retrieves a user's contest ranking information on LeetCode, including overall ranking, participation history, and performance metrics across contests
Input Schema
Name | Required | Description | Default |
---|---|---|---|
attended | No | Whether to include only the contests the user has participated in (true) or all contests (false); defaults to true | |
username | Yes | LeetCode username to retrieve contest ranking information for |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"attended": {
"default": true,
"description": "Whether to include only the contests the user has participated in (true) or all contests (false); defaults to true",
"type": "boolean"
},
"username": {
"description": "LeetCode username to retrieve contest ranking information for",
"type": "string"
}
},
"required": [
"username"
],
"type": "object"
}