Skip to content
/ aes_ds Public

Ali express dropshiping php wrapper

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

dbrax/aes_ds

Repository files navigation

Latest Version on Packagist Total Downloads GitHub Actions

Installation

You can install the package via composer:

composer require epmnzava/ae_ds

Usage

get access token and refresh token

        $ae = new AeDs($api_key,$api_secret,$code);
        $token=$ae->getAccessToken();

        //then store both token and refresh token on database or file to use later

get categories

        $ae = new AeDs($api_key,$api_secret,$code);
        $res = $ae->getCategories("en");
        // it will give list of categories

get category

        $ae = new AeDs($api_key,$api_secret,$code);

        $lang="en";
        $res = $ae->getCategoryById($categoryid,$lang);

          // it will give details of one category

get products on feedname

        $ae = new AeDs($api_key,$api_secret,$code);
        //used feedname tanzaniaselection for Tanzania targeted products   i.e $category_id=6 for home appliace
        $res = $ae->$ae->getItemListByFeedName("tanzaniaselection", $page_no, $page_size, $category_id);
        // it will give list of products on category_id , if no category id you will get all products

get product

        $ae = new AeDs($api_key,$api_secret,$code);
        $token = $ae->getRefreshToken($refresh_token);

        $res = $ae->getProduct($token, $product_id);
          // it will give you only one product with all details

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

Ali express dropshiping php wrapper

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published