Skip to main content

AliExpress API wrapper for Python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-aliexpress-api-1.0.3.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

python_aliexpress_api-1.0.3-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page