Metadata-Version: 2.1
Name: teamdbapi
Version: 2.31.0
Summary: Easily access the TeamDB Web API.
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
Author-email: Trackside Software <support@trackside.fr>
Requires-Python: >=3.4
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Dist: certifi >= 14.05.14
Requires-Dist: six >= 1.10
Requires-Dist: python_dateutil >= 2.5.3
Requires-Dist: setuptools >= 21.0.0
Requires-Dist: urllib3 >= 1.15.1
Project-URL: Homepage, https://www.tracksidesoftware.fr/teamdb

# teamdbapi
This module enables you to easily access the TeamDB Web API.

- Package version: 2.31.0
- TeamDB Web API version: 2.0

## Requirements.

- Python 3.4+
- TeamDB 2.31.0

## Installation and usage
### pip install

Install via  [pip](http://pypi.python.org/pypi/pip).

```sh
pip install teamdbapi
```

Then import the package:
```python
import teamdbapi 
```

## Getting Started

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

```python
import teamdbapi
from teamdbapi.rest import ApiException

# Create a Configuration object
configuration = teamdbapi.Configuration()

# Create an instance of the Client API
client_api = teamdbapi.ApiClient(configuration)

# Create an instance of the Assembly API using the client_api
assembly_api = teamdbapi.AssemblyApi(client_api)

# Try to execute the request
try:

    # Get response with http info (Content, HTTP Status Code, HTTP Header)
    result = assembly_api.assembly_select_current_assembly_with_http_info(assembly_id = "ddbb76fa-a4eb-4e70-81d8-de66c664ce20")
    print(result)

    # Get only response content
    result = assembly_api.assembly_select_current_assembly(assembly_id = "ddbb76fa-a4eb-4e70-81d8-de66c664ce20")
    print(result)

except ApiException as e:
    print("Exception when selecting the current assembly : %s\n" % e)
```

## Documentation for API Endpoints

With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)

## Documentation For Authorization

Endpoints are subject to the same authorization as in TeamDB.

## Author

support@trackside.fr

