Skip to content

LeetCode API - Unleash the Coding Power! ๐Ÿš€ Discover the LeetCode prowess with this mystical API that fetches user profiles, contest ratings, and past submissions. Enter your username, and embark on an epic coding adventure! ๐Ÿ’ช

Notifications You must be signed in to change notification settings

kamleshjoshi8102/lcapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ LeetCode API - Unleash the Coding Power! ๐Ÿ’ช

Welcome to the LeetCode API, where you can tap into the mystical realm of coding achievements! ๐Ÿ˜Ž

๐ŸŒ API URL

To embark on this epic coding adventure, simply wield your browser and visit: https://lcapi.cyclic.app/:lcUsername

Replace "lcUsername" with the LeetCode username you seek to explore, and behold the magic! ๐Ÿง™โ€โ™‚๏ธ

๐Ÿ… How to Use

  1. Clone or download this heroic repository. ๐Ÿฆธโ€โ™‚๏ธ

  2. Equip yourself with the required dependencies by uttering the sacred command in the project directory:

    npm install

  3. Start your legendary API server by invoking the incantation:

    npm start

  4. Now, the API server shall emerge victorious on port 3000 by default! Witness its power! ๐Ÿฐ

๐Ÿ”ฎ API Endpoints

GET

Prepare to be greeted with the wisdom of the API, providing counsel on its usage! ๐Ÿ“œ

GET /:lcUsername

Venture forth, noble traveler, and seek the LeetCode profile of a user bearing the name `"lcUsername"`. ๐Ÿ—บ๏ธ

The API shall reveal a treasure trove of JSON knowledge, including rankings, past submissions, and more!

๐Ÿ’ซ Example Response

json { "ranking": 42, "reputation": 12345, "totalSolved": 987, "totalSubmissions": { "difficulty": "Easy", "count": 100, "submissions": 200 }, "totalQuestions": 1500, "easySolved": 300, "totalEasy": 500, "mediumSolved": 350, "totalMedium": 600, "hardSolved": 137, "totalHard": 400, "submissionCalendar": { "2023-07-01": 1, "2023-07-02": 3, ... }, "contributionPoint": 50 }

๐Ÿฆธโ€โ™‚๏ธ Author

This legendary LeetCode API was forged by Kamlesh Joshi, a Software Development Mage. ๐Ÿง™โ€โ™‚๏ธ

๐Ÿ“œ License

This heroic project is licensed under the ISC License - see the LICENSE file for details. โš”๏ธ๐Ÿ›ก๏ธ

About

LeetCode API - Unleash the Coding Power! ๐Ÿš€ Discover the LeetCode prowess with this mystical API that fetches user profiles, contest ratings, and past submissions. Enter your username, and embark on an epic coding adventure! ๐Ÿ’ช

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published