Skip to main content

            Tests Passing    GitHub pull requests    License

Alt

Effortlessly interact with the Codewars API using this Python wrapper. Simplify user, challenge, and leaderboard data retrieval, making integration seamless for your projects.

Table of Contents

Features

  • User Information: Retrieve detailed user information including username, honor, skills, ranks, and completed challenges.
  • Completed Challenges: Get a list of challenges completed by a user, including details like challenge name, completion date, and programming languages used.
  • Authored Challenges: List challenges authored by a specific user with information on ranks, tags, and available languages.
  • Code Challenge Details: Obtain detailed information about a specific code challenge, including its name, description, tags, and user statistics.

Getting Started

  1. Install the package:

    pip install codewars-api-py
    
  2. Use the wrapper in your Python script:

    from codewars_api_py import CodewarsAPI
    
    # Initialize the Codewars API wrapper
    codewars_api = CodewarsAPI()
    
    # Example: Get user information
    user_info = codewars_api.get_user("some_user")
    print(user_info)
    
    # Example: List completed challenges
    completed_challenges = codewars_api.list_completed_challenges("some_user")
    print(completed_challenges)
    

Documentation

For detailed information on available methods and usage, refer to the Codewars API Wrapper Documentation.

Contributing

Contributions are welcome! Please check the Contributing Guidelines for more details.

License

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

Metadata

Release files for codewars-api-py 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for codewars-api-py 1.0.2
File Size Uploaded
codewars_api_py-1.0.2.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for codewars-api-py 1.0.2
File Interpreter ABI Platform
codewars_api_py-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.1 kB

Release files / codewars_api_py-1.0.2.tar.gz

Download URL codewars_api_py-1.0.2.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9a36c45ae6338ee6a30cf445d5f0c55bcf5f306238961838cde5e23b83f40c85
BLAKE2b-256 checksum
How to use checksums
1b5bcca0345d06f9b565d03af85ab119c6d0d969e142b76d95f5df18e6541b59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Linux/6.10.2-arch1-1

Release files / codewars_api_py-1.0.2-py3-none-any.whl

Download URL codewars_api_py-1.0.2-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78e0146156451c430d8946c1310e5433130c1e91c1b0d299dcde44d1947ee267
BLAKE2b-256 checksum
How to use checksums
90ff84184a3afa851b1a8180ff990e25490ee5bcd54c0a4c5102c93f8d489d59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.4 Linux/6.10.2-arch1-1

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page