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.1.0.tar.gz (5.4 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.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file leetcode_api_wrapper-1.1.0.tar.gz.

File metadata

  • Download URL: leetcode_api_wrapper-1.1.0.tar.gz
  • Upload date:
  • Size: 5.4 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.1.0.tar.gz
Algorithm Hash digest
SHA256 d9519932cc2e892fe241c0b89066f1f88e88be68070729e4701dc1d9090c4780
MD5 a7083bb9ae14c5a0852f69779506f66b
BLAKE2b-256 20736acb2bbb38b5c8c8b73294a63864127060595dcd24778820a30f3531ba76

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leetcode_api_wrapper-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 23a315e66c289c28f995de5f35c9d13220d736fa157167d15d7beed859a044f9
MD5 c242b4334e4aa3938a95bba050bbd69d
BLAKE2b-256 40746193d2bd63f163f229e977f97e526fee3fde98e4b25dc6f1be9fc5f9e7fa

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