amazon-advertising-api-nodejs-sdk
Amazon Advertising API TypeScript and Node.js Unofficial SDK
Alpha Release 🚨
This is an alpha release and is not meant for public consumption.
Install
npm i -s amazon-advertising-api-nodejs-sdk@next
Usage
Mandatory reading: Amazon Advertising API docs
OAuth Client
Inherits from, and implements similar interface to client-oauth2
package.
// get redirect URL to send the user to start OAuth flow // get token // refresh existing token
API Operations
The library is split into "operations", which are closely mapped to the operations (sections) of the API.
// HTTP Client, tailored for the Amazon Advertising API// See other endpoints: https://advertising.amazon.com/API/docs/en-us/get-started/how-to-use-api // A provider instance, that knows how to instantiate operation classes // Instantiate an "operation" object // Using the operation object to make API calls