Skip to content

sumenkov/python-aliexpress-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AliExpress API wrapper for Python

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.

PyPI Python License Support

Features

  • 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.

Installation

You can install or upgrade the module with:

pip install python-aliexpress-api --upgrade

Usage guide

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

Changelog

Version 1.0.3
    -First release.

License

Copyright © 2020 Sergio Abad. See license for details.

About

AliExpress API wrapper for Python 🧧

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%