Skip to main content

Python wrapper for Alfa LeetCode API

Project description

Leetcode Python Wrapper Python Library

A Python wrapper for the Alfa LeetCode API, providing endpoints to retrieve user profiles, badges, solved problems, and more.

Features

  • Fetch user profile, badges, solved problems, and contest details.
  • Query problems with filters (tags, difficulty).
  • Retrieve trending discussions and daily questions.

Installation

Install using pip:

pip install leetcode-api-wrapper

Usage

from LeetcodeWrapper import leetcode_Wrapper

api = leetcode_Wrapper("test_user")

# Get profile details
profile = api.get_profile()
print(profile)

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

leetcode-api-wrapper-1.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

leetcode_api_wrapper-1.0.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file leetcode-api-wrapper-1.0.0.tar.gz.

File metadata

  • Download URL: leetcode-api-wrapper-1.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.8

File hashes

Hashes for leetcode-api-wrapper-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5b88cb10ac16defc09ec6568664adfddc68a5a3cafdb010750daa12bfda8c1d
MD5 bc56331951512c856ba08a1dbd883152
BLAKE2b-256 546823af3b65aba219f5a6fb00e18da20f53304f7b2229c3cc21a12a2cfa6f24

See more details on using hashes here.

File details

Details for the file leetcode_api_wrapper-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for leetcode_api_wrapper-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f0c5d2399ccad4b0d22c3b0e073be87d88eabb9db3aca1db89c8c99f5a04f16
MD5 e7c760af1b70d2f3145c5de26f152dcb
BLAKE2b-256 1c61e30e6b819a8ee9bde595e8bd5030e9b22c35e99dfc718294dcd16198ceb5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page