Example API usage added to README.