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
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
PhrameAPI-1.0.1-py3-none-any.whl
(28.0 kB
view hashes)
Close
Hashes for PhrameAPI-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 224b653f6586cb7e05d694427aec3b165a9b1096c0b0f654ce767a6ba2d1dc1d |
|
MD5 | 533b2236525f6d4e4fa5eb0a6b241159 |
|
BLAKE2b-256 | bff2de53d5c2dd2f69ad961de03c17bee6106ef6111b1d2661e860ef472594ea |