-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
rather than harassing you for full documentation, I was wondering if you could share a little insight on how to use getActiveSubscribers? I'm very new to both node and campaign monitor and struggling a bit.
what I've got:
//more module dependancies above
var createsend = require('createsend-node'),
auth = { apiKey: 'XXXXXXXX' },
api = new createsend(auth);
//unsub is my mongo schema
unsub.statics.CMCall = function(callback){
//where do i provide the listid???
api.list.getActiveSubscribers(
function (err, subscribers){
for( var i = 0; i < subscribers.length; subscribers++){
console.log(subscribers[i]);
}
}
);
Metadata
Metadata
Assignees
Labels
No labels