Skip to main content

App Package API

Project description

unity-sds-apgs-client

Service for application package generation

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

  • API version: 1.0.0
  • Package version: 1.0.0
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

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 unity_sds_apgs_client

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 unity_sds_apgs_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import unity_sds_apgs_client
from unity_sds_apgs_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://api.dev.mdps.mcp.nasa.gov
# See configuration.py for a list of all supported configuration parameters.
configuration = unity_sds_apgs_client.Configuration(
    host = "http://api.dev.mdps.mcp.nasa.gov"
)

# 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: bearerAuth
configuration = unity_sds_apgs_client.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
with unity_sds_apgs_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = unity_sds_apgs_client.DefaultApi(api_client)
    clone_url = 'clone_url_example' # str |

    try:
        # Begins the MCP Clone process
        api_response = api_instance.ads_acb_mcp_clone_get(clone_url)
        print("The response of DefaultApi->ads_acb_mcp_clone_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling DefaultApi->ads_acb_mcp_clone_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://api.dev.mdps.mcp.nasa.gov

Class Method HTTP request Description
DefaultApi ads_acb_mcp_clone_get GET /ads-acb/mcp-clone Begins the MCP Clone process

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

bearerAuth

  • Type: Bearer authentication

Author

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

unity_sds_apgs_client-0.1.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

unity_sds_apgs_client-0.1.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file unity_sds_apgs_client-0.1.0.tar.gz.

File metadata

  • Download URL: unity_sds_apgs_client-0.1.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for unity_sds_apgs_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 48ae3306f78bb4125b2416cd520f33064feceb94919a4cfaa2a757a531ee1039
MD5 1f4761142a05ec16a30b02f4e0d6accb
BLAKE2b-256 f62d2447119e8300ac4cdf1188b9aec91adf6b693379977f3e37425b45ee9e98

See more details on using hashes here.

File details

Details for the file unity_sds_apgs_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for unity_sds_apgs_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c92a6eb30b3630f2d353fd4cd6be56369149943d2fe9ca946b8a9bf38a8136f
MD5 62deb7edfe89b5afa28fc01aaf750831
BLAKE2b-256 ca1daff062a2b2ab4ad3b4893827386673b7efeff2dc68a63de04f4ced38bfce

See more details on using hashes here.

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