ae_sdk
TypeScript icon, indicating that this package has built-in type declarations

0.4.17 • Public • Published

Aliexpress SDK npm version

Typescript CI Publish Downloads Bundle Size License

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);

Click here for a more in depth usage guide.

Package Sidebar

Install

npm i ae_sdk

Weekly Downloads

15

Version

0.4.17

License

MIT

Unpacked Size

158 kB

Total Files

8

Last publish

Collaborators

  • moh3a