Metadata-Version: 2.4
Name: evawiki-python-client
Version: 0.1.8
Summary: EvaTeam API v1.9.22
Home-page: 
Author: OpenAPI Generator community
Author-email: OpenAPI Generator Community <team@openapitools.org>
Project-URL: Repository, https://github.com/vanleo85/evawiki-python-client
Keywords: OpenAPI,OpenAPI-Generator,EvaTeam API v1.9.22
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

# evawiki-python-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: 1.9.22
- Package version: 0.1.8
- Generator version: 7.19.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/vanleo85/evawiki-python-client.git
```
(you may need to run `pip` with root permission: `sudo pip install git+https://github.com/vanleo85/evawiki-python-client.git`)

Then import the package:
```python
import evawiki_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 evawiki_client
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

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

```python

import evawiki_client
from evawiki_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://test.evateam.ru
# See configuration.py for a list of all supported configuration parameters.
configuration = evawiki_client.Configuration(
    host = "https://test.evateam.ru"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization (JWT): bearerAuth
configuration = evawiki_client.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


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

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

```

