Lethean dAppServer
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 3.1.1
- Package version: 3.1.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit https://lethean.io
Python 3.7+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/dAppServer/server-sdk-python.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/dAppServer/server-sdk-python.git
)
Then import the package:
import dappserver_server_sdk
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 dappserver_server_sdk
Execute pytest
to run the tests.
Please follow the installation procedure and then run the following:
import dappserver_server_sdk
from dappserver_server_sdk.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost:36911
# See configuration.py for a list of all supported configuration parameters.
configuration = dappserver_server_sdk.Configuration(
host = "http://localhost:36911"
)
# Enter a context with an instance of the API client
with dappserver_server_sdk.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = dappserver_server_sdk.AppsApi(api_client)
try:
api_response = api_instance.get_market_place_apps()
print("The response of AppsApi->get_market_place_apps:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AppsApi->get_market_place_apps: %s\n" % e)
All URIs are relative to http://localhost:36911
Class | Method | HTTP request | Description |
---|---|---|---|
AppsApi | get_market_place_apps | GET /apps/marketplace | |
AppsApi | install_app | POST /apps/install | |
AppsApi | list_apps | GET /apps/installed | |
AppsApi | remove_app | POST /apps/remove | |
AuthApi | create | POST /auth/lethean/create | |
AuthApi | delete | POST /auth/lethean/delete | |
AuthApi | login | POST /auth/lethean/login | |
ConfigApi | clear_config | POST /config/object/clear | |
ConfigApi | count_config | POST /config/object/count | |
ConfigApi | get_config | POST /config/object/get | |
ConfigApi | load | POST /config/file/load | |
ConfigApi | parse | POST /config/ini/parseJSON | |
ConfigApi | remove_config | POST /config/object/remove | |
ConfigApi | render | POST /config/file/render | |
ConfigApi | render_and_load | POST /config/file/renderAndLoad | |
ConfigApi | render_string | POST /config/file/renderString | |
ConfigApi | set_config | POST /config/object/set | |
CryptographyApi | create_quasi_salt | POST /crypto/hash/quasi-salted-hash | |
CryptographyApi | decrypt | POST /crypto/openpgp/decrypt | |
CryptographyApi | encrypt | POST /crypto/openpgp/encrypt | |
CryptographyApi | generate_key_pair | POST /crypto/openpgp/generate-key-pair | |
CryptographyApi | get_public_key | POST /crypto/openpgp/get-public-key | |
CryptographyApi | sha256 | POST /crypto/hash/sha256 | |
CryptographyApi | sha384 | POST /crypto/hash/sha384 | |
CryptographyApi | sha512 | POST /crypto/hash/sha512 | |
CryptographyApi | sign | POST /crypto/openpgp/sign | |
CryptographyApi | verify | POST /crypto/openpgp/verify | |
CryptographyApi | verify_quasi_salt | POST /crypto/hash/quasi-salted-hash-verify | |
InfoApi | welcome_page | GET / | |
InputOutputApi | fetch_file | POST /io/download/fetch | |
InputOutputApi | get_detailed_directory_list | POST /io/filesystem/list-detailed | |
InputOutputApi | get_directory_list | POST /io/filesystem/list | |
InputOutputApi | is_dir | POST /io/filesystem/is-dir | |
InputOutputApi | is_file | POST /io/filesystem/is-file | |
InputOutputApi | read_file | POST /io/filesystem/read | |
InputOutputApi | write_file | POST /io/filesystem/write | |
ProcessApi | add_process | POST /process/add | |
ProcessApi | kill_process | POST /process/kill | |
ProcessApi | run_process | POST /process/run | |
ProcessApi | start_process | POST /process/start | |
ProcessApi | stop_process | POST /process/stop | |
SystemApi | check_server | GET /system/check | |
SystemApi | get_server_certificate | GET /system/cert | |
BlockchainApi | download_daemon | POST /blockchain/lethean/daemon/downloadDaemon | |
BlockchainApi | export_blockchain | POST /blockchain/lethean/daemon/export | |
BlockchainApi | import_blockchain | POST /blockchain/lethean/daemon/import | |
BlockchainApi | json_rpc | POST /blockchain/lethean/daemon/json_rpc | |
BlockchainApi | start_daemon | POST /blockchain/lethean/daemon/start | |
BlockchainApi | start_wallet | POST /blockchain/lethean/wallet/start | |
BlockchainApi | wallet_json_rpc | POST /blockchain/lethean/wallet/json_rpc |
- BlockchainLetheanDaemonStartDTO
- BlockchainLetheanRPCDTO
- BlockchainLetheanWalletStartDTO
- ConfigFileLoadDTO
- ConfigFileRenderAndLoadDTO
- ConfigFileRenderDTO
- ConfigFileRenderStringDTO
- ConfigObjectClearDTO
- ConfigObjectCountDTO
- ConfigObjectGetDTO
- ConfigObjectRemoveDTO
- ConfigObjectSetDTO
- CreateAccountDTO
- CreateAccountResponseDTO
- CreateFileDTO
- DeleteAccountDTO
- EncryptedRequestDTO
- EncryptedResponseDTO
- FileDownloadRequest
- FilePathCheckDTO
- FilePathDTO
- HashDTO
- INIObjectParseJSONDTO
- OpenPGPCreateKeyPairDTO
- OpenPGPDecryptBYIDDTO
- OpenPGPEncryptBYIDDTO
- OpenPGPGetPublicKeyDTO
- OpenPGPSignBYIDDTO
- OpenPGPVerifyBYIDDTO
- ProcessAddDTO
- ProcessKillDTO
- ProcessRunDTO
- ProcessStartDTO
- ProcessStopDTO
- QuasiSaltHashDTO
- QuasiSaltHashVerifyDTO
- ServerResponse
Endpoints do not require authorization.