mislam/amazon-mws
Composer 安装命令:
composer require mislam/amazon-mws
包简介
A library to connect to Amazon MWS web services
README 文档
README
A PHP library to connect to Amazon Marketplace Web Services (Amazon MWS).
Installation
You can install this package via Composer:
composer require mislam/amazon-mws
Requirements
- PHP >= 5.4
- PHP cURL extension
Usage
<?php use AmazonMWS\AmazonProductList; $config = [ 'MWS_SELLER_ID' => env('MWS_SELLER_ID'), 'MWS_AUTH_TOKEN' => env('MWS_AUTH_TOKEN'), 'MWS_ACCESS_KEY' => env('MWS_ACCESS_KEY'), 'MWS_SECRET_KEY' => env('MWS_SECRET_KEY'), 'MWS_SERVICE_URL' => env('MWS_SERVICE_URL'), ]; // Initialize the AmazonProductList class $productList = new AmazonProductList($config); // Set the product ASIN $productList->setIdType('ASIN'); $productList->setProductIds(['B0786VMVXW', 'B089FPC2HX']); // Fetch the product list $productList->fetchProductList();
Features
- Connect to Amazon MWS API
- Handle authentication and request signing
- Support for major MWS API sections:
- Orders
- Products
- Inventory
- Reports
- And more...
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author
Support
If you discover any security-related issues, please email hi@mislam.dev instead of using the issue tracker.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-01-27