Query and analyze data from leetcode
Project description
LeetQuery
A library for retriving Human Resource information from Leetcode.
Install
pip install leetquery
Usage
Retrieving User Submissions
Just enter user name and limit of query!
from leetquery.user import get_submissions
submissions = get_submissions(username="syhaung", limit=12)
return value:
["question1", "question2", ...]
Retrieving Problem Discription
Just enter probelm nameSlug and voila~~
from leetquery.problem import get_discription
submissions = get_discription(problemname="two-sum")
return value:
<p>Given an array of integers <code>nums</code> and an integer <code>target</code>, return <em>indices of the two numbers such that they add up to <code>target</code></em>.</p>
...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leetquery-0.2.0.tar.gz
(4.9 kB
view hashes)
Built Distribution
Close
Hashes for leetquery-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7870012253764e860f142cb727e1f93bd2012638ea754565dfb89b4e422a07d4 |
|
MD5 | 0fa63d3a90a785fae288b76e57ac36ea |
|
BLAKE2b-256 | d0455c9d9163a37ca468515b8d4b5e243bfdf01026e84bf8941f163af75ef6d0 |