Added simple api example.