Skip to main content

SRO Master API

Project description

sromaster

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.1.4
  • Package version: 0.1.4
  • 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 sromaster

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 sromaster

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import sromaster
from sromaster.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 = sromaster.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 = sromaster.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with sromaster.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = sromaster.ParserApi(api_client)
    member_id = 56 # int | 

    try:
        # Get Sro Member
        api_response = await api_instance.get_sro_member_parser_sro_members_member_id_get(member_id)
        print("The response of ParserApi->get_sro_member_parser_sro_members_member_id_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ParserApi->get_sro_member_parser_sro_members_member_id_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ParserApi get_sro_member_parser_sro_members_member_id_get GET /parser/sro-members/{member_id} Get Sro Member
ParserApi get_sro_parser_sros_sro_id_get GET /parser/sros/{sro_id} Get Sro
ParserApi list_sro_members_parser_sro_members_get GET /parser/sro-members List Sro Members
ParserApi list_sros_parser_sros_get GET /parser/sros List Sros
ParserApi upsert_sro_member_parser_sro_member_post POST /parser/sro-member Upsert Sro Member
ParserApi upsert_sro_parser_sro_post POST /parser/sro Upsert Sro
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

sromaster-0.1.4.tar.gz (81.9 kB view details)

Uploaded Source

Built Distribution

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

sromaster-0.1.4-py3-none-any.whl (147.4 kB view details)

Uploaded Python 3

File details

Details for the file sromaster-0.1.4.tar.gz.

File metadata

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

File hashes

Hashes for sromaster-0.1.4.tar.gz
Algorithm Hash digest
SHA256 bd6486da751a23e6d08256a76d24e1c0a575cf8ddad9a85cfa64f3bb7dcba6cd
MD5 6006ecfa61deabf9d771fa7925aa848f
BLAKE2b-256 b20970c3bba5c9a15e4a8ca7cfe31e7cb3340981bf73b0fecc8897e049b78c85

See more details on using hashes here.

File details

Details for the file sromaster-0.1.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for sromaster-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ddd10df2c68d796f35f1f669e978ac5218b1b7f5a84a44a12d9342e3e0ec84aa
MD5 b596993764a9406a7c1cc30956b00b1e
BLAKE2b-256 e8410e75e315476350ace1d7756e177c524dc602e1a6f209eb2eb0c11c247f3e

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