Demonstration of how to use the SM API