Google Contacts Data

Instantiate Data
$data = eden('google')->contacts($_SESSION['token'])->data();
Data Methods
Method Arguments Returns Description
$data->getList($userEmail = self::DEFAULT_VALUE);
  1. string
array Retrieve all of a user's contacts
$data->getSpecific($contactId, $userEmail = self::DEFAULT_VALUE);
  1. string
  2. string
array Retrieve a single contact
$data->create($givenName, $familyName, $phoneNumber, $city, $street, $postCode, $country, $notes, $email, $userEmail = self::DEFAULT_VALUE);
  1. string
  2. string
  3. string
  4. string
  5. string
  6. string
  7. string
  8. string
  9. string
  10. string
array Creates a contacts.
$data->delete($contactId, $userEmail = self::DEFAULT_VALUE);
  1. string
  2. string
array Delete a contact

© 2012 Openovate Labs. All rights reserved.