Giter Site home page Giter Site logo

sankalp0412 / leetcode-stats-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeremytsaii/leetcode-stats-api

0.0 0.0 0.0 85 KB

API to retrieve LeetCode profile statistics

Home Page: https://leetcode-stats-api.herokuapp.com/

Java 100.00%

leetcode-stats-api's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.