Aliexpress SDK
A simple and type-safe SDK for Aliexpress (system tools, dropshipping and affiliate) APIs.
Introduction
An overview of the SDK and its features.
Prerequisites
Check the important steps to take before being able to use this library
Installation
npm install ae_sdk
Basic usage
// step 1: import the AE client
import { AffiliateClient } from "ae_sdk";
// step 2: initilize the client
const client = new AffiliateClient({
app_key: "123",
app_secret: "123456abcdef",
session: "oauth_access_token",
});
// step 3: you are all set !
const result = await client.featuredPromoInfo({});
console.log(result);