README.markdown in google_contacts_api-0.2.2 vs README.markdown in google_contacts_api-0.2.3

- old
+ new

@@ -10,25 +10,34 @@ ```ruby google_contacts_user = GoogleContactsApi::User(oauth_access_token_for_user) contacts = google_contacts_user.contacts groups = google_contacts_user.groups -groups.first.contacts -contacts.first.photo -contacts.first.title -contacts.first.id + +# group methods +group = groups[0] +group.contacts + +# contact methods +contact = contacts[0] +contact.photo +contact.title +contact.id +contact.primary_email +contact.emails ``` In addition, Contacts and Groups are subclasses of [Hashie::Mash](https://github.com/intridea/hashie), so you can access any of the underlying data directly. Note that data is retrieved using Google's JSON API so the equivalent content of an XML element from the XML API is stored under the key "$t". ## TODO I welcome patches and pull requests, see the guidelines below (handily auto-generated by jeweler). -* Tests! (using RSpec, please) +* Any missing tests! (using RSpec, please) * Read more contact information (structured name, address, phone, ...) -* Posting/putting/deleting groups, contacts and their photos +* Get single contacts and groups +* Posting/putting/deleting groups, contacts and their photos. This might require XML? * Support ClientLogin ## Contributing to google_contacts_api * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet \ No newline at end of file