Skip to content

Instantly share code, notes, and snippets.

View ashley-watson's full-sized avatar
🏳️‍⚧️
いくぜ

Ashley W ashley-watson

🏳️‍⚧️
いくぜ
  • Datadog
View GitHub Profile
@sl-will
sl-will / gist:6868575de6dc7263968f
Created May 17, 2014 23:29
SL API - REST - Basics used in product orders
# 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} ]