This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The below commands will get the basic information used in ordering products | |
# All calls are assumed with an env variable of $APIUSER and $APIKEY for the API username and key | |
# The following examples can be piped to Python for better formatting, for example: | |
# curl api.softlayer.com/args | python -m json.tool | less | |
# Related gist for integrating with scripting https://gist.github.com/sl-will/e3274c68e0e9f5eafcd1 | |
# Get a list of all datacenter locations, optionally with the region adding "groups.name" to the object mask | |
# Returns array [ {"id":int, "longName":string} ] |