Updated README.md to demonstrate the new API