Command line interface

We have created a very simple CLI tool to ease testing the API. You can install it with pip:

pip install iomed

Obtain your api key at https://console.iomed.es, and you will be ready to go:

iomed "refiere dolor de cabeza" --key "your-api-key"

Alternatively, you can export your api key from your .bashrc:

export IOMED_MEL_KEY="your-api-key"

We highly recommend using it with jq:

Install jq:

# mac
brew install jq

# ubuntu/debian
sudo apt-get install -y jq

Run:

iomed "refiere dolor de cabeza" | jq

You can find the code and more documentation at https://github.com/iomedhealth/pyomed.

Reach us at dev - at - iomed.es for doubts or suggestions. We'll be happy to help!