Skip to content
jdang edited this page May 5, 2011 · 8 revisions

Sugarcrm class - This is the Sugarcrm main interface class with all the API functions. This class is what is used to connect to and interact with the sugarcrm framework.

Defined Api functions of the Sugarcrm class in python language are here.

The function SendRequest will send all the request and data to the server. It will call the method, and data that passed in from the parameter. Also check for any connection error while sending the request.

This function TestForError test for any returned object for an error, and print out the error.

This function passencode create md5 hash to send as a password.

This function stripUnicode remove utf-8 encoding returned from JSON and turn it to a string, dictionary, or list.