add API to README