承接 epmnzava/ae_ds 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

epmnzava/ae_ds

最新稳定版本:1.1.1

Composer 安装命令:

composer require epmnzava/ae_ds

包简介

Ali express drop shipping library for php

README 文档

README

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 epmnzava@gmail.com instead of using the issue tracker.

Credits

License

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

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-02