Google YouTube Contacts

$contacts = eden('google')->youtube($_SESSION['token'], '[DEVELOPER_KEY]')->contacts();
Figure 1. YouTube Contact Methods
Method Arguments Returns Description
$contacts->getList($userId = self::DEFAULT_VALUE);
  1. string
array Retrieve all user's contacts
$contacts->getSpecific($userName, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Retrieve specific user's contacts
$contacts->delete($userName, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Delete a contact
$contacts->addContacts($userName, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
array Add contacts
$contacts->updateContacts($userName, $status, $userId = self::DEFAULT_VALUE);
  1. string
  2. string
  3. string
array Update contacts

© 2012 Openovate Labs. All rights reserved.