Added an example for using the API