Skip to main content

Public API Server

Project description

Python client for osparc-simcore API

test

Python client for osparc-simcore Public RESTful API

  • API version: 0.3.0
  • Package version: 0.3.10
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements

Python 3.6+

Installation & Usage

Install the latest release with

pip install osparc

or directly from the repository

pip install git+https://github.com/ITISFoundation/osparc-simcore-python-client.git

Then import the package:

import osparc

Getting Started

Please follow the installation procedure above and then run the following:

from __future__ import print_function
import time
import osparc
from osparc.rest import ApiException
from pprint import pprint


# Defining host is optional and default to http://localhost
configuration.host = "http://localhost"

# Enter a context with an instance of the API client
with osparc.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = osparc.MetaApi(api_client)

    try:
        # Get Service Metadata
        api_response = api_instance.get_service_metadata()
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling MetaApi->get_service_metadata: %s\n" % e)

Author

Made with love at Zurich43

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

osparc-0.3.10.tar.gz (20.5 kB view hashes)

Uploaded Source

Built Distribution

osparc-0.3.10-py3-none-any.whl (32.7 kB view hashes)

Uploaded Python 3

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