leetcode-rating-predictor
leetcode-rating-predictor copied to clipboard
Show user's predicted rating when click on extension
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.
Hi, I'd like to work on this
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