The most valuable part of the documentation set to programmers is the extensive set of samples and example code provided. You can access these samples at the following location on machine where NCM is installed:

[ProductDirectory]/ncmcore/webapps/ncm-webapp/samples

Download the samples directory to have all the example code on your local system.