add API to readme