jacob-hyde/printify
最新稳定版本:v1.0
Composer 安装命令:
composer create-project jacob-hyde/printify
包简介
Printify PHP SDK
README 文档
README
Basic PHP wrapper for working with Printify API. API endpoint documentation can be found here: https://developers.printify.com/
Installation
composer required jacob-hyde/printify
Check out example and test directories for more specific usage examples.
Basic Usage
Create a new instance of the Printify API and pass it to the endpoint class. For example the Catalog:
use Printify\PrintifyApiClient;
use Printify\PrintifyCatalog;
$printify_api = new PrintifyApiClient(<Shop Access Token>);
$printify_catalog = new PrintifyCatalog($printify_api);
$catalog_items = $printify_catalog->all();
Shop Based Endpoints
For shop based endpoints, pass along the shop ID in the endpoint constructor. For Example:
use Printify\PrintifyOrders;
$printify_orders = new PrintifyOrders($printify_api, <Shop ID>);
$orders = $printify_orders->all();
Endpoints that need a shop ID:
- Products
- Orders
- Uploads
- Webhooks
Endpoints
统计信息
- 总下载量: 364
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-10-04