0.0.4 • Published 7 years ago

voiceads v0.0.4

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
7 years ago

VoiceAds.ai

Install the package

cd <your_project_src_path>
npm install voiceads --save

INITIALIZE THE SDK

Add the following VoiceAds declaration at the top to intialize the SDK:

var VoiceAds = require('voiceads')('<Insert Your VoiceAds.ai token>');

#login to your amazon developer account to get your skill id

params = {
    'appName': '<Insert Amazon Skill Name>',
    'appId': '<Insert Amazon Skill Id Here>',
    'appType': 'flash_briefing',
    'appCategory' : 'news'
}

GETTING AD

VoiceAds.getAd(params.appType, params, function (error, response) {
    <your_response_object>.concat(response));
});
0.0.4

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago