Add API examples to README