Open
Description
We want to use Leetcode APIs to build an automated system for Weekly contests where if people solve certain questions they earn CodeyCoins.
This is a research task to figure out if Leetcode API has the features we need to actually build this, or if we need any separate third party API for this data.
The data we get from the user:
- leetcode username/ profile url
The data we want to access:
- Attempts on a particular question (Date + Time for the latest)
- If they have solved the question (Date + Time for the latest)
- Which language they solved the question in (optional)
- Their solution speed and memory usage data (just take the latest) (optional)
Currently we are using the leetcode api here https://github.com/uwcsc/codeybot/blob/main/src/components/leetcode.ts