Example snippets showing how to use our RESTful API