Updates API to match one currently used on site. 

Syntax for getting example, and format of listing examples changed.