Skip to content

jacobcui/magentouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Following python code shows you how to
inititialize the Magentouch instance
and then call an Magento SOUPv2 api

Further api reference can be found here
http://www.magentocommerce.com/api/soap/introduction.html


from magentouch import Magentouch
from magentouch.utils import recursive_asdict

# e.g. url='http://shop.digirocks.com.au/api/v2_soap?wsdl=1'
url=''
username=''
password=''

mgt = Magentouch(url=url, username=username, password=password)
suds_ret = mgt.service.catalogCategoryTree(mgt.session)
categories = recursive_asdict(suds_ret)['children']
for c in categories:
    print c

About

A python library to call Magento api though Suds

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages