I'm facing the below AttributeError when i run the code. kindly help me onthis.
import domain_shared_contacts_client
import json
# Create the client. Authenticates to the Google Data API using the service account credentials provided
client = domain_shared_contacts_client.Client(
domain='example.com',
admin='admin@example.com',
credentials='credentials.json')
# Fetch the list of contacts currently available
contacts = client.get_contacts()
print json.dumps(contacts, default=contacts_helper.convert_contacts)
ERROR
E:\pythonProject\venv\Scripts\python.exe E:/pythonProject/create.py
Traceback (most recent call last):
File "E:/pythonProject/create.py", line 4, in
client = domain_shared_contacts_client.Client(
AttributeError: 'module' object has no attribute 'Client'
Hi,
I'm facing the below AttributeError when i run the code. kindly help me onthis.
ERROR E:\pythonProject\venv\Scripts\python.exe E:/pythonProject/create.py Traceback (most recent call last): File "E:/pythonProject/create.py", line 4, in
client = domain_shared_contacts_client.Client(
AttributeError: 'module' object has no attribute 'Client'
Thanks!