Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show user's predicted rating when click on extension #13

Open
SysSn13 opened this issue Aug 28, 2021 · 2 comments
Open

Show user's predicted rating when click on extension #13

SysSn13 opened this issue Aug 28, 2021 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@SysSn13
Copy link
Owner

SysSn13 commented Aug 28, 2021

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 SysSn13 added enhancement New feature or request good first issue Good for newcomers labels Aug 28, 2021
@VidithM
Copy link
Contributor

VidithM commented Aug 29, 2021

Hi, I'd like to work on this

@SysSn13 SysSn13 assigned SysSn13 and VidithM and unassigned SysSn13 Sep 2, 2021
@RedHeadphone
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants