added a very basic api example