A simple Python wrapper for the AliExpress Open Platform API. This module allows to get product information and affiliate links from AliExpress using the official API in an easier way.
- Object oriented interface for simple usage.
- Get information about a product through its ID or URL.
- Support for language and currency configuration.
- Ask for new features through the issues section.
- Join our Telegram group for support or development.
You can install or upgrade the module with:
pip install python-aliexpress-api --upgrade
Get product information:
from aliexpress.api import Aliexpress
aliexpress = Aliexpress(KEY, SECRET, 'ES', 'EUR', TRACKING_ID)
product = aliexpress.product_info('1000006468625')
print(product.product_title)
Get affiliate link:
from aliexpress.api import Aliexpress
aliexpress = Aliexpress(KEY, SECRET, 'EN', 'USD', TRACKING_ID)
url = aliexpress.affiliate_link('https://aliexpress.com/item/1000006468625.html')
Version 1.0.3
-First release.
Copyright © 2020 Sergio Abad. See license for details.