Examples of how to use the api