Skip to main content

Phrame API

Project description

PhrameAPI

Phrame API

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.1
  • Package version: 1.0.1
  • Build package: org.openapitools.codegen.languages.PythonLegacyClientCodegen

Requirements.

Python 3.4+

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 PhrameAPI

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 PhrameAPI

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function

import time
import PhrameAPI
from PhrameAPI.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost/PhrameServer
# See configuration.py for a list of all supported configuration parameters.
configuration = PhrameAPI.Configuration(
    host = "http://localhost/PhrameServer"
)



# Enter a context with an instance of the API client
with PhrameAPI.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = PhrameAPI.PhrameApi(api_client)

    try:
        # GET all configs
        api_response = api_instance.minio_get_all_config_names()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling PhrameApi->minio_get_all_config_names: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost/PhrameServer

Class Method HTTP request Description
PhrameApi minio_get_all_config_names GET /config/all GET all configs
PhrameApi minio_get_ui_config GET /config GET config
PhrameApi minio_post_ui_config POST /config POST config

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

david@3adesign.co.uk

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

PhrameAPI-1.0.1.tar.gz (26.2 kB view hashes)

Uploaded Source

Built Distribution

PhrameAPI-1.0.1-py3-none-any.whl (28.0 kB view hashes)

Uploaded Python 3

Supported by

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