Skip to main content

YA Group Pay API

Project description

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 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/

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

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:

import yagroup_pay

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import yagroup_pay

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

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 GET /users/me Get Me

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

  • Type: Bearer authentication

Author

info@nexium.me

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yagroup_pay-0.3.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yagroup_pay-0.3.0-py3-none-any.whl (24.7 kB view details)

Uploaded Python 3

File details

Details for the file yagroup_pay-0.3.0.tar.gz.

File metadata

  • Download URL: yagroup_pay-0.3.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for yagroup_pay-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1e483771c001f33446b432be02a852e75fdf2195f317386dd32833dc31db7a95
MD5 ca3b223990ba2df4a17d2709a8973112
BLAKE2b-256 3dd49cf5ec8a33885b1f3dfb6f3c2ada87d8caea4e5f0f89a4e4ee3a2ccc66e0

See more details on using hashes here.

File details

Details for the file yagroup_pay-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: yagroup_pay-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for yagroup_pay-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb32ac4a37a74a34344f2d27cbf159271f310291bf38c812cddb4b15eedf51e5
MD5 8579bca942294f0b207ccc5583aca8f1
BLAKE2b-256 c3d9149b8705910f5530255e1b2f3b118b1ee9291c4257a06cd937540aa10bb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page