# 7. GET SINGLE CONTACT # $contact = $client->getContact($emailOrId, $listName); # # 8. GET MULTIPLE CONTACTS # $offset = 0; $limit = 20; $sort = 'ASC'; $unsubscribed = null; $list = null; $client->getContacts($offset, $limit, $sort, $unsubscribed, $listName); # # 9. GET TAGS FROM CONTACT # $tags = $client->getTags($emailOrId, $listName); # # 10. CREATE NEW CONTACT IN LIST # $contact = new \stdClass(); $contact->email = '*****@*****.**'; $newContact = $client->postContact($contact, $listName); # # 11. CREATE MULTIPLE CONTACTS AT ONCE # $contact2 = new \stdClass(); $contact2->email = '*****@*****.**'; $contact3 = new \stdClass(); $contact3->email = '*****@*****.**'; $contacts = array($contact2, $contact3); $client->postContacts($contacts, $listName);