File tree 1 file changed +46
-2
lines changed 1 file changed +46
-2
lines changed Original file line number Diff line number Diff line change 1
- # leetcode-stats-api
2
- API to retrieve LeetCode profile statistics
1
+ <h2 align =" center " >leetcode-stats-api</h2 >
2
+ <h3 align =" center " >The API for retrieving your LeetCode profile statistics</h3 >
3
+
4
+ <h3 align =" center " >Check it out <a href =" https://leetcode-stats-api.herokuapp.com/ " >here</a >!</h3 >
5
+
6
+ <p align =" center " >
7
+ <a href=https://forthebadge.com>
8
+ <img src =" https://forthebadge.com/images/badges/built-with-grammas-recipe.svg " ></a >
9
+ </br >
10
+ <a href =" https://leetcode-stats-api.herokuapp.com/ " >
11
+ <img src="https://pyheroku-badge.herokuapp.com/?app=leetcode-stats-api"></a>
12
+ <a href=https://travis-ci.com/JeremyTsaii/leetcode-stats-api>
13
+ <img src =" https://travis-ci.com/JeremyTsaii/leetcode-stats-api.svg?branch=master " ></a >
14
+ <a href=http://hits.dwyl.com/jeremytsaii/leetcode-stats-api>
15
+ <img alt="HitCount" src=http://hits.dwyl.com/jeremytsaii/leetcode-stats-api.svg> </a >
16
+ <a href=https://github.com/dwyl/esta/issues>
17
+ <img src =" https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat " ></a >
18
+ <a href=https://opensource.org/licenses/MIT>
19
+ <img src=https://img.shields.io/badge/License-MIT-yellow.svg> </a >
20
+ </p >
21
+
22
+ ***
23
+
24
+ ### REST API Endpoint
25
+
26
+ Invoke URL: https://leetcode-stats-api.herokuapp.com/{YOUR_USERNAME}
27
+
28
+ #### GET:
29
+ Hitting the endpoint with your username returns the following statistics in the json response:
30
+ ```
31
+ {
32
+ "status": "",
33
+ "totalSolved": 360
34
+ "easySolved": 146
35
+ "totalEasy": 458
36
+ "mediumSolved": 196
37
+ "totalMedium": 904
38
+ "hardSolved": 21
39
+ "totalHard": 368
40
+ "acceptanceRate": 50.9
41
+ "ranking": 47657
42
+ "contributionPoints": 2534
43
+ "reputation": 1
44
+ }
45
+ ```
46
+
You can’t perform that action at this time.
0 commit comments