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.4
  • Package version: 1.0.4
  • Generator version: 7.11.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.8+

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

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

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)
    component_name = 'component_name_example' # str | Name of component
    version_id = 'version_id_example' # str | ID of component (optional)

    try:
        # DELETE Component
        api_instance.minio_delete_ui_component(component_name, version_id=version_id)
    except ApiException as e:
        print("Exception when calling PhrameApi->minio_delete_ui_component: %s\n" % e)

Documentation for API Endpoints

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

Class Method HTTP request Description
PhrameApi minio_delete_ui_component DELETE /components DELETE Component
PhrameApi minio_delete_ui_config DELETE /config DELETE config
PhrameApi minio_get_all_component_names GET /components/all Get all components
PhrameApi minio_get_all_config_names GET /config/all GET all configs
PhrameApi minio_get_ui_component GET /components GET Components
PhrameApi minio_get_ui_config GET /config GET config
PhrameApi minio_post_ui_component POST /components POST component
PhrameApi minio_post_ui_config POST /config POST config

Documentation For Models

Documentation For Authorization

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.1.3.tar.gz (27.8 kB view details)

Uploaded Source

Built Distribution

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

phrameapi-1.1.3-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file phrameapi-1.1.3.tar.gz.

File metadata

  • Download URL: phrameapi-1.1.3.tar.gz
  • Upload date:
  • Size: 27.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for phrameapi-1.1.3.tar.gz
Algorithm Hash digest
SHA256 a157e94f7fe4fb3bb41c15191a861aed2a29e49105eef6f152ef916fbdd579ff
MD5 75e0d9b3cca86d41443e90eea5fb0380
BLAKE2b-256 8a02531fbaf176120f130edfda9ef77116c7a286ff8a82aaac35739eaee64ac9

See more details on using hashes here.

File details

Details for the file phrameapi-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: phrameapi-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for phrameapi-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 591088dfef9141db293dac10d4b8f90970528b4f9a47b934b88e595546170ff6
MD5 1c745d9825b6c244a4c11b48fbcbfa45
BLAKE2b-256 b3d3d5d78e1824e6ee80aa0b076df5bd09c49841513b89f3434bd061d7deaaa0

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