Download the PHP package clchangnet/aliexapi without Composer
On this page you can find all versions of the php package clchangnet/aliexapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download clchangnet/aliexapi
More information about clchangnet/aliexapi
Files in clchangnet/aliexapi
Package aliexapi
Short Description AliExpress Affiliate API PHP Library
License MIT
Homepage https://github.com/clchangnet/aliexapi
Informations about the package aliexapi
THIS WILL NOT WORK WITH THE UPDATED ALIEXPRESS API, TAOBAO OPEN PLATFORM API
aliexapi
AliexApi is a PHP library for AliExpress Affiliate API program. You can use it to fetch product data. It interfaces with Aliexpress API functions such as listPromotionProduct, getPromotionProductDetail and getPromotionLinks. For more info on the API, visit http://portals.aliexpress.com/help/help_center_API.html. To see a working demo site, goto clothes, warmers and headwear.
This Library based on Jan Eichhorn's Amazon Product Advertising API.
If you like this package, feel free to buy me a coffee ☕️
AliExpress Affiliate Program
To signup and join the program, goto http://portals.aliexpress.com/, you need to apply for API Key to get access.
Installation
Composer
Add the package 'clchangnet/aliexapi' to composer.json file:
Update composer of the new package and download. Once done, you should see a folder 'clchangnet' under 'vendor' folder.
This will update the autoloader file and the library would be found once you include it in your code.
Basic Usage:
Here is an example how to use Aliexpress API listPromotionProduct to search for products using keywords.
Search Products
Note: To search by category. uncomment 'categoryId' and comment 'keywords' in searchItems and listPromotionProduct
Get Affiliate Links
Example Workflow: Use ListProducts to search using keywords and set what fields to return. Use GetLinksTo convert product urls to your affiliate link.
Webservice Documentation:
To find out about what fields can be return through API request, goto http://portals.aliexpress.com/help/help_center_API.html