add API to README.md