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

Uploaded Python 3

File details

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

File metadata

  • Download URL: leetcode_api_wrapper-1.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b472cd807c1e9e2804a8fe2857f34a96158bd76bfa4c626dfd43e95854fa79ec
MD5 da9b3bad3d5463b52ae48bcd5c3debed
BLAKE2b-256 ea4381dc6c97ac0c70e1f4f52ebc971bbff915917a405d5844c1c16780329a01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for leetcode_api_wrapper-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d01ee81b6b91b28764472f655fcc7afed79a15d2553d9c88565eacf8d41b8347
MD5 61df4cd9bc8ed6ad6ee20d95551ffbcf
BLAKE2b-256 87eadf686ede1fb47575ff1665c363c3873965d7f476b3fcaaaed0af255ade83

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