Skip to main content

Magento Soup v2 suds client

Project description

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

<pre>
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
</pre>

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magentouch-1.0.tar.gz (1.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page