I'm investigating integrating our internal applications (in Django) with Zimbra features. In my research I think the two possible routes for me to go are using SOAP or REST. So far, I've attempted using SOAP through ZPI and SOAPpy. Neither of which have worked so far. SOAPpy almost worked, but complained that it received a duplicate id.

I personally would love to use REST as it's simpler for me. I've barely touched SOAP before. It doesn't appear that there is any documentation of the abilities of the REST API?

If someone thinks there is a better method for connecting using Python, I would love to know more?

If someone has done this before, I would love to see a code example of authenticating against the server in Python.