add API section to README.md