updated readme with API