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
Release files for unity-sds-apgs-client 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unity_sds_apgs_client-0.1.0.tar.gz | 18.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unity_sds_apgs_client-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.2 kB
Release files / unity_sds_apgs_client-0.1.0.tar.gz
| Download URL | unity_sds_apgs_client-0.1.0.tar.gz |
|---|---|
| Size | 18.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
48ae3306f78bb4125b2416cd520f33064feceb94919a4cfaa2a757a531ee1039
|
|
BLAKE2b-256 checksum How to use checksums |
f62d2447119e8300ac4cdf1188b9aec91adf6b693379977f3e37425b45ee9e98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / unity_sds_apgs_client-0.1.0-py3-none-any.whl
| Download URL | unity_sds_apgs_client-0.1.0-py3-none-any.whl |
|---|---|
| Size | 22.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c92a6eb30b3630f2d353fd4cd6be56369149943d2fe9ca946b8a9bf38a8136f
|
|
BLAKE2b-256 checksum How to use checksums |
ca1daff062a2b2ab4ad3b4893827386673b7efeff2dc68a63de04f4ced38bfce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|