add API in readme