承接 progcode/icecat-api 相关项目开发

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

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

progcode/icecat-api

Composer 安装命令:

composer require progcode/icecat-api

包简介

Icecat PHP API Library

关键字:

README 文档

README

Icecat is a PHP library, that assists you in the following 2 procedures:

  • Fetching data from the Icecat database using basic product information.
  • Parsing this data from the Icecat response, and using them in real life applications.

v1.0.2:

  • trim() vendor and sku/mpn values

About Icecat

Icecat is an open catalog, providing free access to thousands of product datasheets. In extend, when taking a subscription, the amount of accessible datasheets are increased.

There is a list of Icecat sponsor brands.

Installation

The library can be installed using composer:

"progcode/icecat-api": "dev-master"

Usage

The class library is, in it's current state easy to be used.

Result

The Icecat class is responsible for parsing the data. It includes a few basic methods, but you can easily create your own implementation by implementing the IcecatInterface interface.

// Use the class.
use Src\Icecat\Api;

$icecat = new Api(getenv('ICEACAT_USER'), getenv('ICEACAT_PASS'));
$xml = $icecat->getArticleByMPN('Hewlett Packard Enterprise', '838079-B21', 'HU');
$productDataArray = $icecat->xml2array($xml);

$productData = $icecat->getProductData($productDataArray);

Demo is soon available.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固