added api.pub to generate sin example