To retrieve data from Zoho CRM:
import devart.zohocrm as zohocrm
connect()
module method and obtain a connection
object
response = zohocrm.signin(Domain="your_zoho_domain")
my_connection = zohocrm.connect(
Domain="your_zoho_domain",
RefreshToken=response["Refresh Token"]
)
cursor
object using the cursor()
connection method.
my_cursor = my_connection.cursor()
execute()
cursor method.
my_cursor.execute("SELECT * FROM employees")
fetch*()
cursor methods.
for row in my_cursor.fetchall():
print(row)