Is there any way still like I can get basic user information for their codechef profile like handle, contest rating, country Ranking, Globel Ranking, and the total number of questions solved all time?
№ | Пользователь | Рейтинг |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3831 |
3 | Radewoosh | 3646 |
4 | jqdai0815 | 3620 |
4 | Benq | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | gamegame | 3386 |
10 | ksun48 | 3373 |
Страны | Города | Организации | Всё → |
№ | Пользователь | Вклад |
---|---|---|
1 | cry | 164 |
1 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
5 | -is-this-fft- | 158 |
6 | awoo | 157 |
7 | adamant | 156 |
8 | TheScrasse | 154 |
8 | nor | 154 |
10 | Dominater069 | 153 |
Is there any way still like I can get basic user information for their codechef profile like handle, contest rating, country Ranking, Globel Ranking, and the total number of questions solved all time?
Название |
---|
Hey, see if this helps- https://codechef-api.vercel.app/{username} replace {username} with your codechef id
Thanks
direction_ the api worked for you?
This api doesnt work for me my username for codechef is sanjaysrocks
API Response
Upon checking out the github repo of the api, it seems to me that it only fetches data for user with an active rating. You can try using the api for an account with rating.
I am active on codechef from last 10 days and have some stats. The api doesnt work.
Seriously dude are you not aware of the rating concept?
The api ONLY works for users who have participated in a rated contest and have an ACTIVE RATING (for example I am a 4 star (rating: 1844) on codechef. You are unrated on CC.
Atleast have complete knowledge about a platform before nullifying someone's hard work.
It's working.
This is not working now... My codechef handle is jai_kumar30 Could you please resolve the problem in my code? Am I doing something wrong?
// Fetch CodeChef data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ async function fetchCodechefData() { const url=
https: //codechef-api.vercel.app/{jai_kumar30}
;} ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~