Skip to content

NodeJS module for connecting to the Adobe Digital Marketing APIs. Provides both the REST (default) and SOAP clients. Please note this software should be considered as 'alpha' and not used in a production environment

Adobe-Marketing-Cloud/marketing-cloud-node-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

marketing-cloud-node-sdk

NodeJS module for connecting to the Adobe Marketing Cloud APIs. Provides both the REST (default) and SOAP clients.

Node.js installation

npm package

npm install https://github.com/Adobe-Marketing-Cloud/marketing-cloud-node-sdk/tarball/master

Implementation:

var client = require('marketing-cloud-node-sdk');

// configuration values
var config = {
	username: "myusername:My Company Name",
	secret: "mypassword"
};

// sets client configuration
client.config(config);

var args = {
	company: "My Company Name"
};

// perform a REST service call
client.rest('Company.GetEndpoint', args,
    function(err, response) {

        if(err) {
            console.log(err.stack);
            return;
        }

        console.log(response);
    }
);

// perform a SOAP service call
client.soap('Company.GetEndpoint', args,
    function(err, response) {

        if(err) {
            console.log(err.stack);
            return;
        }

        console.log(response);
    }
);

About

NodeJS module for connecting to the Adobe Digital Marketing APIs. Provides both the REST (default) and SOAP clients. Please note this software should be considered as 'alpha' and not used in a production environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published