node-marketo-soap

0.0.1 • Public • Published

node-marketo-soap

SOAP Module for Marketo's API

Install:

npm install node-marketo-soap

This is a simple wrapper around node-soap that is compatible with Marketo's SOAP API.

Usage

Instead of using soap.createClient() we need to use soap.createMarketoClient():

var soap = require('node-marketo-soap');
soap.createMarketoClient(url, function(err, client) {
    client.addSoapHeader(auth, 'AuthenticationHeader', 'tns', namespace);
    //Do something with the client...
    //Eg., create a lead:
    client.syncLead(leads, function(err, res) {
      console.log('Result: ', res.result);
    })
});

/node-marketo-soap/

    Package Sidebar

    Install

    npm i node-marketo-soap

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • uris77