base_url
: URL of Ops/Cloud Managerusername
: User name used to access Ops/Could Managerapi_key
: API Key used to access Ops/Could Managerlog_level
: Standard Python log levels.INFO
/DEBUG
...output_file
: Output file path. Include{0}
to add timestamp. e.g.:./output-{0}.json
This script respects pyenv settings. You can add Python version to .python-version
python __main__.py