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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page