Update README.md

Added some API examples.