alfaarghya / alfa-leetcode-api

It's a custom leetcode api. This API provides endpoints to retrieve details about a user's profile, badges, solved questions, contest details, contest history, submissions, calendar and and also daily questions, selected problem, list of problems.
https://alfa-leetcode-api.onrender.com/
MIT License
251 stars 97 forks source link

Submitting leetcode solution through API #3

Closed Manojbhat09 closed 8 months ago

Manojbhat09 commented 8 months ago

Is there a way to

  1. Get the problem,
  2. Add your solution
  3. Submit on the profile
  4. Get stats

Through the api?

alfaarghya commented 8 months ago
  1. yes, use the /select route, in the titleSlug query You have to put the question title. For example - the problem title is Combination Sum II to get this question you have to put /select?titleSlug=combination-sum-ii. 😄

  2. No, leetCode doesn't provide that. 😣

  3. I don't understand this please explain it. 😓

  4. image

If you want to get this, use -