Skip to content

[SPIKE]: Leetcode API Usage #513

Open
@probro27

Description

@probro27

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

Metadata

Metadata

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions