Project DescriptionThis is a third party python wrapper for SugarSync.
InstallationYou need to install the dateutil library prior to running setup.py. Dateutil can be obtained here
http://pypi.python.org/pypi/python-dateutil.
Tested on python 2.6 on both Windows and Linux.
To insall:
<Unzip directory>
python setup.py install
Example Usage (see
documentation for additional information):
from pysugarsync import SugarSync
import ConfigParser
filename="conf.ini"
conf = ConfigParser.RawConfigParser()
conf.read(filename)
_sync = SugarSync(conf=conf)
syncFolders = _sync.ListSyncFolders()
files = _sync.ListFiles(syncFolders[0])
data = _sync.Read(files[0])
Configuration File Layout:
[SugarSync]
username=USER@name.com
password=PASS
apikey=YOUR-APIKEY
privatekey=YOUR-PRIVATEKEY
apikey and private key information can be obtained from
https://www.sugarsync.com/developer