Metadata-Version: 2.4
Name: fab_clientlib
Version: 0.8.7
Summary: FAB Client Lib
Home-page: https://pypi.org/project/fab-clientlib/
Author: Olivier Stuker, Christian Eichenberger, Manuel Schneider
Author-email: "Olivier Stuker, Christian Eichenberger, Manuel Schneider" <contact@flatland-association.org>
License-Expression: MIT
Project-URL: Repository, https://github.com/flatland-association/flatland-benchmarks
Keywords: OpenAPI,OpenAPI-Generator,FAB Client Lib
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: urllib3<3.0.0,>=2.1.0
Requires-Dist: python-dateutil>=2.8.2
Requires-Dist: pydantic>=2
Requires-Dist: typing-extensions>=4.7.1
Dynamic: author
Dynamic: home-page

# fab-clientlib
Python client lib to access Flatland Association Benchmarks / AI4REALNET Campaign Hub Backend API, generated with openapi-generator

This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.0.0
- Package version: v0.8.7
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.

Python 3.9+

## 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/flatland-association/flatland-benchmarks.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/flatland-association/flatland-benchmarks.git`)

Then import the package:
```python
import fab_clientlib
```

### 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 fab_clientlib
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import fab_clientlib
from fab_clientlib.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 = fab_clientlib.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with fab_clientlib.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = fab_clientlib.DefaultApi(api_client)

    try:
        api_response = api_instance.health_live_get()
        print("The response of DefaultApi->health_live_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->health_live_get: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DefaultApi* | [**health_live_get**](docs/DefaultApi.md#health_live_get) | **GET** /health/live | 
*DefaultApi* | [**results_benchmark_benchmark_id_get**](docs/DefaultApi.md#results_benchmark_benchmark_id_get) | **GET** /results/benchmark/{benchmark_id} | 
*DefaultApi* | [**results_campaign_item_benchmark_id_get**](docs/DefaultApi.md#results_campaign_item_benchmark_id_get) | **GET** /results/campaign-item/{benchmark_id} | 
*DefaultApi* | [**results_campaign_item_benchmark_id_tests_test_id_get**](docs/DefaultApi.md#results_campaign_item_benchmark_id_tests_test_id_get) | **GET** /results/campaign-item/{benchmark_id}/tests/{test_id} | 
*DefaultApi* | [**results_submission_submission_id_get**](docs/DefaultApi.md#results_submission_submission_id_get) | **GET** /results/submission/{submission_id} | 
*DefaultApi* | [**results_submission_submission_id_tests_test_id_get**](docs/DefaultApi.md#results_submission_submission_id_tests_test_id_get) | **GET** /results/submission/{submission_id}/tests/{test_id} | 
*DefaultApi* | [**results_submission_submission_id_tests_test_id_post**](docs/DefaultApi.md#results_submission_submission_id_tests_test_id_post) | **POST** /results/submission/{submission_id}/tests/{test_id} | 
*DefaultApi* | [**results_submission_submission_id_tests_test_id_scenario_scenario_id_get**](docs/DefaultApi.md#results_submission_submission_id_tests_test_id_scenario_scenario_id_get) | **GET** /results/submission/{submission_id}/tests/{test_id}/scenario/{scenario_id} | 
*DefaultApi* | [**submissions_get**](docs/DefaultApi.md#submissions_get) | **GET** /submissions | 
*DefaultApi* | [**submissions_post**](docs/DefaultApi.md#submissions_post) | **POST** /submissions | 
*DefaultApi* | [**submissions_uuid_get**](docs/DefaultApi.md#submissions_uuid_get) | **GET** /submissions/{uuid} | 
*DefaultApi* | [**tests_ids_get**](docs/DefaultApi.md#tests_ids_get) | **GET** /tests/{ids} | 


## Documentation For Models

 - [ApiResponse](docs/ApiResponse.md)
 - [ApiResponseError](docs/ApiResponseError.md)
 - [HealthLiveGet200Response](docs/HealthLiveGet200Response.md)
 - [HealthLiveGet200ResponseAllOfBody](docs/HealthLiveGet200ResponseAllOfBody.md)
 - [HealthLiveGet200ResponseAllOfBodyChecksInner](docs/HealthLiveGet200ResponseAllOfBodyChecksInner.md)
 - [ResultsBenchmarkBenchmarkIdGet200Response](docs/ResultsBenchmarkBenchmarkIdGet200Response.md)
 - [ResultsBenchmarkBenchmarkIdGet200ResponseAllOfBodyInner](docs/ResultsBenchmarkBenchmarkIdGet200ResponseAllOfBodyInner.md)
 - [ResultsCampaignItemBenchmarkIdGet200Response](docs/ResultsCampaignItemBenchmarkIdGet200Response.md)
 - [ResultsCampaignItemBenchmarkIdGet200ResponseAllOfBodyInner](docs/ResultsCampaignItemBenchmarkIdGet200ResponseAllOfBodyInner.md)
 - [ResultsCampaignItemBenchmarkIdGet200ResponseAllOfBodyInnerItemsInner](docs/ResultsCampaignItemBenchmarkIdGet200ResponseAllOfBodyInnerItemsInner.md)
 - [ResultsSubmissionSubmissionIdGet200Response](docs/ResultsSubmissionSubmissionIdGet200Response.md)
 - [ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInner](docs/ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInner.md)
 - [ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInnerTestScoringsInner](docs/ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInnerTestScoringsInner.md)
 - [ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInnerTestScoringsInnerScenarioScoringsInner](docs/ResultsSubmissionSubmissionIdGet200ResponseAllOfBodyInnerTestScoringsInnerScenarioScoringsInner.md)
 - [ResultsSubmissionSubmissionIdTestsTestIdGet200Response](docs/ResultsSubmissionSubmissionIdTestsTestIdGet200Response.md)
 - [ResultsSubmissionSubmissionIdTestsTestIdPostRequest](docs/ResultsSubmissionSubmissionIdTestsTestIdPostRequest.md)
 - [ResultsSubmissionSubmissionIdTestsTestIdPostRequestDataInner](docs/ResultsSubmissionSubmissionIdTestsTestIdPostRequestDataInner.md)
 - [ResultsSubmissionSubmissionIdTestsTestIdScenarioScenarioIdGet200Response](docs/ResultsSubmissionSubmissionIdTestsTestIdScenarioScenarioIdGet200Response.md)
 - [SubmissionsGet200Response](docs/SubmissionsGet200Response.md)
 - [SubmissionsGet200ResponseAllOfBodyInner](docs/SubmissionsGet200ResponseAllOfBodyInner.md)
 - [SubmissionsPost200Response](docs/SubmissionsPost200Response.md)
 - [SubmissionsPost200ResponseAllOfBody](docs/SubmissionsPost200ResponseAllOfBody.md)
 - [SubmissionsPostRequest](docs/SubmissionsPostRequest.md)
 - [TestsIdsGet200Response](docs/TestsIdsGet200Response.md)
 - [TestsIdsGet200ResponseAllOfBodyInner](docs/TestsIdsGet200ResponseAllOfBodyInner.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="oauth2"></a>
### oauth2

- **Type**: OAuth
- **Flow**: accessCode
- **Authorization URL**: https://keycloak.flatland.cloud/realms/flatland/protocol/openid-connect/auth
- **Scopes**: N/A


## Author

contact@flatland-association.org


