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>
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
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 details)
File details
Details for the file magentouch-1.0.tar.gz
.
File metadata
- Download URL: magentouch-1.0.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1ddf38fc6d38fcaf75e21920fcabc1ba47c5dc2169c40fbff2d3d7e0f76ff31 |
|
MD5 | 52f8fefacc10dbe97daea169b0d502bb |
|
BLAKE2b-256 | ca176e97c28a76886be366840b30e2eed8a9cfba6e5069975446b619bbc70820 |