direction_'s blog

By direction_, history, 16 months ago, In English

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?

  • Vote: I like it
  • 0
  • Vote: I do not like it

| Write comment?
»
5 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

Hey, see if this helps- https://codechef-api.vercel.app/{username} replace {username} with your codechef id

  • »
    »
    5 weeks ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    Thanks

  • »
    »
    13 days ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    This api doesnt work for me my username for codechef is sanjaysrocks

    API Response

    {
        "success": false,
        "error": {}
    }
    
    • »
      »
      »
      13 days ago, # ^ |
        Vote: I like it 0 Vote: I do not like it

      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.

      • »
        »
        »
        »
        3 days ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        I am active on codechef from last 10 days and have some stats. The api doesnt work.

        • »
          »
          »
          »
          »
          3 days ago, # ^ |
            Vote: I like it 0 Vote: I do not like it

          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.

  • »
    »
    3 days ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    It's working.