Skip to main content

Python SDK to use public API of Unison

Project description

Hyperunison Python SDK

You can use this SDK to execute UQL queries via Public API.

API keys

You will need to create API key to use the Public API. You can do it in Web interface of the site.

The example of using

from hyperunison_public_api import UnisonSDKApi
from hyperunison_public_api import Configuration

query = ''
api_key = ''
biobank_id = '1'
api = UnisonSDKApi(
    Configuration(
        host='',
    )
)
response = api.execute_cohort_request(
    api_key,
    biobank_id,
    query
)
print(response)

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

hyperunison_public_api_sdk-1.1.9.tar.gz (40.5 kB view hashes)

Uploaded Source

Built Distribution

hyperunison_public_api_sdk-1.1.9-py3-none-any.whl (50.1 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