/leetcode-stats-API

User's LeetCode Stats API

Primary LanguagePythonMIT LicenseMIT

LeetCode Stats API

@@ Work In Progress - Data Visualisation and more @@

How to Use

Append your LeetCode username at the end of the url https://leetcode-stat-api.herokuapp.com/{username}/ and get your LeetCode stats. It's that simple!
e.g. - https://leetcode-stat-api.herokuapp.com/adityag28/

Result

image

The result will show the total number of questions on the LeetCode Platform, also with easy, medium and hard difficulty.
It will show the total number of questions solved by the user, and also show the individual questions solved by them based on the difficulty level.

Theme

For those who love dark theme, they can add theme=dark at the end. Right now only light and dark theme are only supported. In future more themes will be added. For dark theme, use https://leetcode-stat-api.herokuapp.com/adityag28/theme=dark

Result

image

Usage

The most popular and common use for this API url is that the users can simply add this to their GitHub profile readme to showcase their LeetCode statistics.

Stargazers

Stargazers repo roster for @adityagoel28/leetcode-stats-API