Get Application Instance Result Sample¶
A command line console application that provides access to application instance results using the Aculab Cloud Web Services API.
Usage¶
python get_application_instance_result.py [--wsserver <cloudWebServerAddress>] <cloudId> <username> <apiAccessKey> <applicationInstanceId>
Arguments¶
cloudWebServerAddress
The address of the cloud web server. By default the wrappers call web services on
https://ws-<cloudId>.aculabcloud.net
. In certain circumstances you may need to use a different address which you can set here.
cloudId
Cloud region id (e.g. 1-2-0)
username
Cloud account username
apiAccessKey
Cloud API Access key
applicationInstanceId
The application instance identifier. Alternatively, the name of a file containing 1 or more application instance id strings, comma-separated.
Note
For users running Python 2 under Windows, this tool does not support command line arguments containing non-ASCII characters. If you wish to specify command line arguments containing non-ASCII characters, please use Python 3.
Examples¶
Get the result for an application instance ID
python get_application_instance_result.py 0-2-0 bob@acompany.com bobsPword 049136ca36e44662.999999
Get the results for multiple application instance IDs
python get_application_instance_result.py 0-2-0 bob@acompany.com bobsPword appInstances.csv