Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

CS2 Battle Bot Client

Description

This is a Python client for the CS2 Battle Bot API. It uses the OpenAPI Python Generator for API interactions and Pydantic for data modeling.

Installation

With pip

  1. Install the package using pip:
pip install cs2-battle-bot-client

With poetry

  1. Install the package using poetry:
poetry add cs2-battle-bot-client

Usage

  1. Set access_token environment variable to the access token you received from the CS2 Battle Bot API.
export access_token="your_access_token"
  1. Use the client in your Python code:
from cs2_battle_bot_client import APIConfig
from cs2_battle_bot_client.services import matches_service

api_config = APIConfig(
    base_url="http://localhost:8000"
)

def main():
    matches = matches_service.matches_list(api_config_override=api_config)
    print(matches)
    
if __name__ == "__main__":
    main()

Metadata

Release files for cs2-battle-bot-client 0.0.6rc0

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

Source distribution (sdist)

Source distribution for cs2-battle-bot-client 0.0.6rc0
File Size Uploaded Provenance Actions
cs2_battle_bot_client-0.0.6rc0.tar.gz 9.8 kB Without provenance Details for cs2_battle_bot_client-0.0.6rc0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cs2-battle-bot-client 0.0.6rc0
File Interpreter ABI Platform Actions
cs2_battle_bot_client-0.0.6rc0-py3-none-any.whl Python 3 none any Details for cs2_battle_bot_client-0.0.6rc0-py3-none-any.whl

Total release size: 46.5 kB

Release files / cs2_battle_bot_client-0.0.6rc0.tar.gz

Download URL cs2_battle_bot_client-0.0.6rc0.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
43ec26e7c9845d0beb7c07905c544cee571f16a0e3d3118bf47f3a64e083e6c0
BLAKE2b-256 checksum
How to use checksums
011e7b7b9a00e0ddeb7a1595887e05bf6199fcae63151c2715ce24c97fdbf9fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1018-azure

Release files / cs2_battle_bot_client-0.0.6rc0-py3-none-any.whl

Download URL cs2_battle_bot_client-0.0.6rc0-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
362828800c984db572036fe0971199b67fe1c4f035884d640bb41a7cddf5d011
BLAKE2b-256 checksum
How to use checksums
38932bf267d35d3f2b3853d8353bcafe38237afbab7b33c41b5d7fd22df4309f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.1 Linux/6.5.0-1018-azure

Security for cs2-battle-bot-client 0.0.6rc0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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