pysugarNG

Fork of Python binding of SugarCRM, that uses the SOAP API provided by SugarCRM
Download

pysugarNG Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Python License
  • Price:
  • FREE
  • Publisher Name:
  • Mathieu PASQUET, Florent Aide and Christophe de Vienne
  • Publisher web site:
  • http://cryptelium.net

pysugarNG Tags


pysugarNG Description

Fork of Python binding of SugarCRM, that uses the SOAP API provided by SugarCRM pysugarNG is a pythonic binding for the SugarCRM SOAP interface, make it possible to use objects as if they were local ie:>>> import pysugar>>> sugar_user = 'myuser'>>> sugar_password = 'mypassword'>>> sugar_base_url = 'http://myserver/sugar'>>> sugar_debug = False>>> sugar_session = pysugar.SugarSession(... sugar_user, sugar_password, sugar_base_url, sugar_debug)>>> sugar_store = pysugar.SugarStore(sugar_session)>>> sugar_lead = sugar_store.m.Leads.add()>>> sugar_lead.first_name = 'Test Lead'>>> sugar_lead.post()>>> print sugar_lead.id929a26ac-fc47-3232-20a6-4534cdb3290ethen you can test the result in another session...(initialization stuff) >>> id = '929a26ac-fc47-3232-20a6-4534cdb3290e' >>> sugar_lead = sugar_store.m.Leads.get(id) >>> print sugar_lead.first_nameid being the previously obtained id string from the sugar server Requirements: · Python


pysugarNG Related Software