elyes/sonos-wrapper
最新稳定版本:1.0.2
Composer 安装命令:
composer require elyes/sonos-wrapper
包简介
Library to get information of every product sell by sonos
README 文档
README
Library to get information of every product sell by sonos
Installation
composer require elyes/sonos-wrapper
Local development
composer install
php vendor/bin/phpstan analyze src --level=max
Usage
When you install the library you will have access to multiple function
Get all categories
Retrieve all categories from sonos website
$api = new \Elyes\SonosWrapper\Api()->getCategories();
return an array of categories
Get all products of category
Retrieve all products of a category
Put a category name as parameter, you can get the category name from the previous function
$api = new \Elyes\SonosWrapper\Api()->getProductsByCategory(String $category);
return an array of products
Get product information
Retrieve all information of a product
Put a product name as parameter, you can get the product name from the previous function
$api = new \Elyes\SonosWrapper\Api()->getProduct(String $product);
return an array of product information
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-05