aliexpress-api
v1.2.3
Published
A package that wraps Aliexpress API for node
Maintainers
Readme
aliexpress-api
A Node.js package that wraps the Aliexpress API for affiliate marketing and product data access.
Description
This package provides a simple interface to interact with the Aliexpress Open Platform API. It's particularly useful for affiliate marketing and product data retrieval.
Based on the Aliexpress Open Platform API Documentation
Installation
npm install aliexpress-apiDependencies
- request: ^2.88.2
- mime: ^3.0.0
Usage
const AliexpressApiService = require("aliexpress-api");
// Initialize the service with your credentials
const aliexpressApiService = new AliexpressApiService(
ALIEXPRESS_APP_KEY,
ALIEXPRESS_APP_SECRET,
ALIEXPRESS_APP_SIGNATURE,
ALIEXPRESS_TRACKING_ID
);
// Get affiliate link for a product
const affiliateLink = await aliexpressApiService.getAffiliateLink(aliexpressUrl);Configuration
You'll need the following credentials from Aliexpress Open Platform:
ALIEXPRESS_APP_KEY: Your application keyALIEXPRESS_APP_SECRET: Your application secretALIEXPRESS_APP_SIGNATURE: Your application signatureALIEXPRESS_TRACKING_ID: Your tracking ID
Development
To run tests:
npm testVersion History
- 1.2.2
- Current version
- 1.2.0
- Migrated to use new Aliexpress endpoint and standards
- 1.0.0
- Initial Release
License
ISC
Contributing
Contributions are welcome! Feel free to submit issues and pull requests.
If you have any questions, you can:
- Reach out on GitHub
- Join the Facebook affiliate group: Aliexpress Affiliate Marketing
Author
Alon Segal
