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

Add Codeforces and Atcoder Profiles #9

Open
dhanrajchaurasia opened this issue Oct 11, 2023 · 3 comments
Open

Add Codeforces and Atcoder Profiles #9

dhanrajchaurasia opened this issue Oct 11, 2023 · 3 comments
Labels
dhanrajchaurasia mentor hacktoberfest verified for hacktoberfest event medium level

Comments

@dhanrajchaurasia
Copy link
Collaborator

Description

  • Allow the user to enter his/her handle and fetch the profiles through APIs.
  • Store relevant data from the API to the database of the user. (create necessary schemas)
  • Most relevant data - user handle, name, institution details(if can), rating, rank(title e.g. Expert).etc
  • Bonus for adding the graphs for the respective profiles or maybe other relevant data.
@dhanrajchaurasia dhanrajchaurasia added hacktoberfest verified for hacktoberfest event medium level dhanrajchaurasia mentor labels Oct 11, 2023
@sharmavasant
Copy link

@dhanrajchaurasia sir
I have added user to fetch codeforces profiles using handle through api.
And stored the profile data in database in table - profiles.
I'm not able to find Atcoder api.

CP-Grind.mp4

@dhanrajchaurasia
Copy link
Collaborator Author

@dhanrajchaurasia sir I have added user to fetch codeforces profiles using handle through api. And stored the profile data in database in table - profiles. I'm not able to find Atcoder api.

CP-Grind.mp4

Here is the Atcoder API (Also it was linked in the readme.md file)
https://github.com/kenkoooo/AtCoderProblems/blob/master/doc/api.md

  • You shouldn't store multiple profiles of codeforces for the same user also you shouldn't fetch it like that. It should be like you enter the handle once (if possible try verifying the handle for that user i.e. ask him to change some stuff which actuall is fetchable from the api) and then display the profile in a clean manner not like that one (You can search for profiles to get an example to add the same)

@sharmavasant
Copy link

@dhanrajchaurasia sir
I have removed redundancy from database by using email.
Added frontend to profile page.
Fetched data from Codeforces and Atcoder apis stored in database without duplicacy and showed profile on profile page.

CP-Grind2.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dhanrajchaurasia mentor hacktoberfest verified for hacktoberfest event medium level
Projects
None yet
Development

No branches or pull requests

2 participants