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.1.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.1.1-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: leetcode_api_wrapper-1.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 4ebc8d63e684a5e1d66fd3c42128feb64d89dd60d5da011fbab5be4cb0b40902
MD5 966114c3ea966271e9949789cce034ba
BLAKE2b-256 3fd59c02a48dd88eea7412face23f119b8ed728360bfbc028cf45a94084a0fd7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leetcode_api_wrapper-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 821d3754caf74ed748806bad3943fec65850ed7779ebdd53180746e31418589e
MD5 b9f6135e9711f1ac25be706324e47044
BLAKE2b-256 16031f16ef5bdfd75f8db54e176e6391c4ed6a7c0b2e0b6da7d151ce9f08a029

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