yagroup-pay 0.3.0
YA Group Pay API
Requires Python: >=3.9
Keywords: OpenAPI, OpenAPI-Generator, YA Group Pay API

# yagroup-pay
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.3.0
- Package version: 0.3.0
- Generator version: 7.14.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://nexium.me/](https://nexium.me/)

## 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/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 yagroup_pay
```

### 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 yagroup_pay
```

### Tests

Execute `pytest` to run the tests.

## Getting Started

Please follow the [installation procedure](#installation--usage) and then run the following:

```python

import yagroup_pay
from yagroup_pay.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 = yagroup_pay.Configuration(
    host = "http://localhost"
)

# 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: HTTPBearer
configuration = yagroup_pay.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with yagroup_pay.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = yagroup_pay.UsersApi(api_client)

    try:
        # Get Me
        api_response = await api_instance.get_me_users_me_get()
        print("The response of UsersApi->get_me_users_me_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling UsersApi->get_me_users_me_get: %s\n" % e)

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*UsersApi* | [**get_me_users_me_get**](docs/UsersApi.md#get_me_users_me_get) | **GET** /users/me | Get Me


## Documentation For Models

 - [ResponseDataUserResponse](docs/ResponseDataUserResponse.md)
 - [UserResponse](docs/UserResponse.md)


<a id="documentation-for-authorization"></a>
## Documentation For Authorization


Authentication schemes defined for the API:
<a id="HTTPBearer"></a>
### HTTPBearer

- **Type**: Bearer authentication


## Author

info@nexium.me