Skip to content

Latest commit

 

History

History
77 lines (53 loc) · 2.06 KB

README.md

File metadata and controls

77 lines (53 loc) · 2.06 KB

🚀 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. ⚔️🛡️