paapi5-typescript-sdk
Unofficial TypeScript SDK for Product Advertising API 5.0
Installation
In order to install this SDK, you just have to run you well-known npm
or yarn
scripts:
npm i -S paapi5-typescript-sdk
Or
yarn add paapi5-typescript-sdk
And there you go! Enjoy ๐
API
Everything is exported from the SDK: requests' classes, models, utility types, helper and so on..
If you want to import everything
import * as SDK from 'paapi5-typescript-sdk';
And use what you need later
const request = new SDK.SearchItemsRequest(/* ... */);
You can refer to the Amazon Product Advertising API 5.0 for further details about every request
Auth
In order to validate all the requests against the APIs, I've implemented almost from scratch the AWS V4 signing process, creating the SignHelper
class.
This is intended for interal use, but if you want to use it for other purposes, here you canโฆ