Document API in README.md.