Add example for retrieving attributes to README