This python package provides the ManageIQ API Client library.
Preparing your python virtual environment:
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e . # To create an editable install of this package
If you want to install it directly from GitHub:
$ pip install git+https://github.com/ManageIQ/manageiq-api-client-python.git
To run the example present in this repository you probably need to configure your options (if different from the default shown here):
$ export MIQURL=http://localhost:3000/api
$ export MIQUSERNAME=admin
$ export MIQPASSWORD=smartvm
$ python example.py
To run the example with an API Token use these settings:
$ export MIQURL=http://localhost:3000/api
$ export MIQTOKEN=< place real token here >
$ python example.py
Copyright 2013 Red Hat, Inc. and/or its affiliates.
License: GPL version 2 or any later version (see COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html for details).