Magento XML-RPC API Wrapper
This wrapper lets you talk to Magento via XML-RPC.
It is a minimally modified version of magento
and magento-api
, which incorrectly advertise as being SOAP clients.
Installation
npm install magento-xmlrpc
Usage
var MagentoAPI = ;var magento = host: 'your.host' port: 443 path: '/api/xmlrpc/' login: 'your_username' pass: 'your_pass'; magento;
If need be, you can manually change the session id.
magento;
All of the API methods take an object of params as the first argument, and a callback as the second.
Or, if no params are sent, just a callback as the first argument.