update README with api usage