# openapi-client No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 0.1.0 - Package version: 1.0.0 - Generator version: 7.12.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. Python 3.8+ ## Installation & Usage ### pip install If the python package is hosted on a repository, you can install directly using: ```sh pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git ``` (you may need to run `pip` with root permission: `sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git`) Then import the package: ```python import openapi_client ``` ### Setuptools Install via [Setuptools](http://pypi.python.org/pypi/setuptools). ```sh python setup.py install --user ``` (or `sudo python setup.py install` to install the package for all users) Then import the package: ```python import openapi_client ``` ### Tests Execute `pytest` to run the tests. ## Getting Started Please follow the [installation procedure](#installation--usage) and then run the following: ```python import openapi_client from openapi_client.rest import ApiException from pprint import pprint # Defining the host is optional and defaults to http://localhost # See configuration.py for a list of all supported configuration parameters. configuration = openapi_client.Configuration( host = "http://localhost" ) # Enter a context with an instance of the API client with openapi_client.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = openapi_client.DefaultApi(api_client) game_decision_request = openapi_client.GameDecisionRequest() # GameDecisionRequest | try: # Game Decision api_response = api_instance.game_decision_game_decision_post(game_decision_request) print("The response of DefaultApi->game_decision_game_decision_post:\n") pprint(api_response) except ApiException as e: print("Exception when calling DefaultApi->game_decision_game_decision_post: %s\n" % e) ``` ## Documentation for API Endpoints All URIs are relative to *http://localhost* Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- *DefaultApi* | [**game_decision_game_decision_post**](docs/DefaultApi.md#game_decision_game_decision_post) | **POST** /game/decision | Game Decision *DefaultApi* | [**game_start_game_start_post**](docs/DefaultApi.md#game_start_game_start_post) | **POST** /game/start | Game Start ## Documentation For Models - [GameDecisionRequest](docs/GameDecisionRequest.md) - [GameDecisionResponse](docs/GameDecisionResponse.md) - [GameStartRequest](docs/GameStartRequest.md) - [GameStartResponse](docs/GameStartResponse.md) - [HTTPValidationError](docs/HTTPValidationError.md) - [ValidationError](docs/ValidationError.md) - [ValidationErrorLocInner](docs/ValidationErrorLocInner.md) ## Documentation For Authorization Endpoints do not require authorization. ## Author