承接 ict-master-pk/pricemeter-products-php 相关项目开发

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

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

ict-master-pk/pricemeter-products-php

Composer 安装命令:

composer require ict-master-pk/pricemeter-products-php

包简介

Price Meter PHP API to manage store specific products

README 文档

README

Price Meter PHP API to manage store specific products

Requirement

  • PHP >= 7.2

Installation

composer require ict-master-pk/pricemeter-products-php

For PHP >= 5.6

composer require ict-master-pk/pricemeter-products-php:dev-guzzle_655

API Token

Usage

$product = new \Pricemeter\Model\Product($apiToken);
$product = $product->fill([
    'id' => 1,
    'sku' => 'dummy',
    'upc' => "some upc",
    'title' => 'Dummy Product title',
    'brand' => 'Dummy brandings',
    'category' => 'Computers > Battery',
    'price' => 350.4,
    'discounted_price' => 300.2,
    'image_url' => 'https://dummystore.pk/detail_img.jpg',
    'url' => 'https://dummystore.pk/q/dummy',
    'description' => "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
    'availability' => 1,
    'rating' => 4.5,
    'keywords' => 'dummy, products, items'
]);

# To Insert
$product->insert();

# To Update
$product->update();

# To Delete
$product->delete();
# OR do this in more convenient way as below
(new \Pricemeter\Model\Product($apiToken))->fill([
    'id' => 1
])->delete();

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固