Skip to content
Proyek

JeremyTsaii/leetcode-stats-api

Lihat di GitHub

Tentang

API to retrieve LeetCode profile statistics

Sains dan teknik

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

leetcode-stats-api

The API for retrieving your LeetCode profile statistics

Check it out here!



HitCount


Frontend Repo is here. Create aesthetic displays from this information!

REST API Endpoint

Invoke URL: https://leetcode-stats-api.herokuapp.com/<YOUR_USERNAME>

GET:

Hitting the endpoint with your username returns the following statistics in the json response:

{
  "status": "success",
  "message": "retrieved",
  "totalSolved": 360,
  "totalQuestions": 1735,
  "easySolved": 146,
  "totalEasy": 458,
  "mediumSolved": 196,
  "totalMedium": 904,
  "hardSolved": 21,
  "totalHard": 368,
  "acceptanceRate": 50.92,
  "ranking": 47657,
  "contributionPoints": 2534,
  "reputation": 1,
  "submissionCalendar": {}
}

What is the development workflow?

First clone the repository onto your local machine.

Maven must be installed to run the following commands.

mvn clean

Removes all files generated by the previous build.

mvn package

Builds the project (while also running all of the tests).

mvn spring-boot:run

Serves the Apache Tomcat servlet container on http://localhost:8080.

mvn test

Runs all the tests.

Jelajahi proyek terkait

Memuat…