cre8-it/creatorsapi-php-sdk
Composer 安装命令:
composer require cre8-it/creatorsapi-php-sdk
包简介
CreatorsAPI 1.1.3 PHP SDK
README 文档
README
Prerequisites
PHP Version Support
- Supported: To run the SDK you need PHP version 8.1 or higher.
Setup Instructions
1. Install and Configure PHP
For PHP installation, you can download it from the official website: https://www.php.net/downloads
# Check PHP version
php --version
2. Install SDK (Composer)
composer require cre8-it/creatorsapi-php-sdk
If you're running from a cloned repo, run composer install in the repo root instead.
3. Run Sample Code
Navigate to the examples directory to run the samples.
cd {path_to_project}/vendor/cre8-it/creatorsapi-php-sdk/examples
If you're running from a cloned repo, use cd {path_to_project}/creatorsapi-php-sdk/examples.
Before running the samples, you'll need to configure your API credentials in the sample files by replacing the following placeholders:
<YOUR CREDENTIAL ID>- Your API credential ID<YOUR CREDENTIAL SECRET>- Your API credential secret<YOUR CREDENTIAL VERSION>- Your credential version (e.g., "2.1" for NA, "2.2" for EU, "2.3" for FE region)<YOUR MARKETPLACE>- Your marketplace (e.g., "www.amazon.com" for US marketplace)<YOUR PARTNER TAG>- Add valid Partner Tag for the requested marketplace in applicable sample code snippet files
Run the following commands to run the sample files:
Get detailed product information:
php SampleGetItems.php
Search for products:
php SampleSearchItems.php
Other Samples
Check the examples directory for additional sample files with various API operations.
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2026-02-13