0
我試圖從SugarCRM的收集數據,並有下面的代碼:SugarCRM的實例沒有屬性「模塊」
import sugarcrm
sugarcrm_user = "user"
sugarcrm_pass = "pass"
sugarcrm_url = "url/service/v4/rest.php"
sugarcrm_conn= None
try:
sugarcrm_conn = sugarcrm.Sugarcrm(url = sugarcrm_url, username = sugarcrm_user, password =
sugarcrm_pass)
accounts = sugarcrm_conn.module('Accounts')
except ValueError:
print "cann't connect to " + sugarcrm_url
exit(1)
的連接工作正常,但是當我嘗試使用SugarCRM的對象是說
SugarCRM的實例沒有屬性 '模塊'