Fixed mistakes in API code (README.MD)