Update README.md

sample code for apis