added api to readme