adding API part in the README.md