adding API to README