leeter
v1.1.0
Published
[![License: Apache 2.0](https://camo.githubusercontent.com/8cb994f6c4a156c623fe057fccd7fb7d7d2e8c9b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d3445423142412e737667)](https://www.apache.org/licenses/LICE
Downloads
11
Readme
leeter
leeter is a project that provides an interface to the node.js environment for the leetcode api. Its initial goal is to provide a stable way for leetcode application development, so that we can learn algorithms more easily. It will provide leetcode user login, algorithm list, algorithm details, comments, solution and discussion api, etc.
Getting Started
Installation
To use leeter in your project, run:
npm i leeter
# or "yarn add leeter"
Usage
Example - Initialize Leet instance and get data:
Save file as example.js
import { leetMaker } from 'leeter'
const leet = leetMaker({ cookie: '<YOUR_COOKIE>' })
const questionList = await leet.problemsetQuestionList()
Execute script on the command line
node example.js
You will be provided with question set data.