MAPIServices
Here is small sample that demonstrate how to use MAPIServices to get a service:
from restmapi.services import MAPIServices
print(MAPIServices.instance.mapi_base_url)
print(MAPIServices.instance.get_version())
print(MAPIServices.instance.get_available_rest_services())
with MAPIServices.instance.get_service("MorpheeProcessControl") as morphee_process_control:
if morphee_process_control.is_morphee_process_started() == True:
print("MORPHEE master is started")
else:
print("MORPHEE master is stopped")
Result: