Add API and example to Readme