API class documentation and code-examples