leetcode-rating-predictor icon indicating copy to clipboard operation
leetcode-rating-predictor copied to clipboard

Show user's predicted rating when click on extension

Open SysSn13 opened this issue 4 years ago • 2 comments

Users can provide their username. After that whenever they click on the LC Predictor extension icon the pop page should also show the user's predicted rating for the latest contest. It can be achieved by doing this:

  • User can enter/edit username on options/popup page.
  • Whenever the pop page is opened, the extension calls API for getting the latest predicted rating and shows it. A new endpoint can be added or we can utilize the existing endpoint in the backend api.

SysSn13 avatar Aug 28 '21 09:08 SysSn13

Hi, I'd like to work on this

VidithM avatar Aug 29 '21 01:08 VidithM

Is there any way to get latest participated contest rating?

we can add api endpoint like the one below to get predicted rating of user of his last contest https://leetcode-rating-predictor.herokuapp.com/api/v1/predictions?contestId=CID&handles=UID

but not sure how to get last contest ID and how to make that API return predicted and not delta

RedHeadphone avatar Oct 03 '22 12:10 RedHeadphone