Python - https://sldn.softlayer.com/

Pagination Examples Nov 12, 2021
A collection of examples on how to properly get large listings of objects from the SoftLayer API using Pagination, Python iterators, and objectFilters.

View Example

Manage Users Aug 8, 2018
A script to create users and a script to disable users. Used mostly for setting up lab users and then cleaning up after.

View Example

Advanced Quote Ordering Aug 7, 2018
Place an order using a quote with SSH keys and post provisioning scripts. Along with a few examples of how to get the needed data.

View Example

Get bills by user Jun 9, 2017
Goes through the upcoming invoice, collects billing items by their user, and prints out the results along with a sum of costs

View Example

Network Topology Mar 17, 2017
Prints out a rough topology of your network. DC -> Router -> Vlan -> Server, and includes gateways if applicable

View Example

Determining your next bill Feb 8, 2016
Example on how to use getNextInvoiceTotalAmount to retrieve the pre-tax total amount of an account's next invoice measured in US Dollars ($USD)

View Example

Create a new virtual server with all options Aug 1, 2015
Creates a new virtual server (VSI) and demonstrates the many options that can be used to customize the creation. The code includes a commented out section that will create a price quote for the order instead of actually placing the virtual server order.

View Example

Find active VMs by creator Jun 23, 2015
Retrieves the list of virtual instances (VSIs) by the person who created them. If no parameter is provided the code uses the ID you are logged into the SL CLI with.

View Example