AE_SDK
A simple and type-safe SDK for Aliexpress (system tools, dropshipping and affiliate) APIs.
Disclamer
This library is currently under heavy development. More endpoints and documentation will be coming.
Installation
npm i ae_sdk
pnpm add ae_sdk
yarn add ae_sdk
Usage
import { DropshipperClient } from "ae_sdk";
const client = new DropshipperClient({
app_key: "123",
app_secret: "123456abcdef",
session: "oauth_access_token",
});
const result = await client.productDetails({
product_id: 1005004043442825,
ship_to_country: "DZ",
target_currency: "USD",
target_language: "en",
});
console.log(result);
Todo
- Add in code documentation using
jsdoc
; - Fix method result types (affiliate)
- Add unit tests;