add api doc to readme