update readme to explain about api usage