troubleshooting: how to connect to Magento API from Python?
- Keywords:
- xmlrpc api
open a python console:
>>> import xmlrpclib
>>> socket = xmlrpclib.
>>> session = socket.
how to retrieve a list of Magento oders?
>>> socket.
replace your from/to increment_id by what you want and find out the store_id you need, you can look at the ir_model_data table in OpenERP to find out which store_id is associated to which OpenERP shop.
how to get the detail of one sale order?
>>> socket.
how to get the detail of one customer?
>>> socket.
More?
Read Magento API detail:
http://