/smartAPIs

Smart API specifications for various Ma'ayan Lab Tools

Primary LanguageJavaScriptApache License 2.0Apache-2.0

smartAPIs

Smart API specifications for various Ma'ayan Lab Tools. Testable versions of these specifications can be found at http://smart-api.info/registry, using the "Maayanlab" tag.

Usage

Python

PySwaggerClient makes it possible to use these APIs with python bindings.

Install with:

pip install https://github.com/u8sand/PySwaggerClient/archive/master.zip
npm install -g api-spec-converter

Use with:

from pyswaggerclient import SwaggerClient
harmonizome = SwaggerClient('https://raw.githubusercontent.com/MaayanLab/smartAPIs/master/harmonizome_smartapi.yml')

harmonizome.actions.getEntities.call()

Tab-completion, documentation and more is provided through this interface.