Skip to content

meryllblanchet/adobeio-cna-core-target

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I/O CNA Adobe Analytics Core SDK

Javascript Core SDK wrapping Adobe Target APIs.

Installing

$ npm install

Usage


var sdk = require('adobeio-cna-core-target');

//initialize sdk
const targetClient = await sdk.init('<tenant>', 'x-api-key', '<valid auth token>')

//call methods

    //get activities
    const activities = await targetClient.getActivities({limit:5, offset:0})
    console.log(util.inspect(activities));

    //get offers
    const offers = await targetClient.getOffers({limit:5, offset:0})
    console.log(util.inspect(offers));


     //get offer by id activity
     const offer = await targetClient.getOfferById(123)
     console.log(util.inspect(offer));

Contributing

Contributions are welcome! Read the Contributing Guide for more information.

Licensing

This project is licensed under the Apache V2 License. See LICENSE for more information.

About

Adobe Target SDK

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published