Skip to content

Unofficial LeetCode API, wrapping common LeetCode APIs in one place such as submission, getting questions by category, etc.

Notifications You must be signed in to change notification settings

Sajantoor/LeetCode-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unofficial LeetCode API

Wraps common LeetCode APIs in one place such as submitting, get questions by category, difficulty, etc.

Usage

Host: https://leetcode-361923.wl.r.appspot.com/

Certain APIs require X-CSRF-Token and Session headers for authentication.

Login to your LeetCode account and copy the data from the cookie. For Chrome go to chrome://settings/cookies/detail?site=leetcode.com and use the X-CSRF-Token and LEETCODE_SESSION values for these headers, respectively. These tokens remain valid for ~1 week.

Contributing

Pull requests for new APIs and features are welcome!

About

Unofficial LeetCode API, wrapping common LeetCode APIs in one place such as submission, getting questions by category, etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages