php-etl/prestashop-plugin

Prestashop 提取和加载插件

安装: 34

依赖: 0

建议: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:gyroscops-plugin

dev-main / 0.1.x-dev 2023-08-24 09:15 UTC

This package is auto-updated.

Last update: 2024-09-24 12:03:04 UTC


README

该 Prestashop 插件旨在将 Prestashop API 连接到 ETL 管道。

在线阅读 完整且最新的文档

安装

composer require php-etl/prestashop-plugin

快速开始

构建提取器

prestashop:
  client:
    url: 'https://prestashop.example.com'
    api_key: 'abc1234'
  extractor:
    type: 'products'
    method: 'all'
    options:
      columns:
        - 'id'
        - 'product_type'
        - 'price'
      filter:
        id: '[1,10]'
      sorters:
        id: ASC
      id_shop: 1
      id_group_shop: 1
      languages:
        from: 1
        to: 3
      price:
        my_price:
          product_attribute: 25

构建加载器

prestashop:
  client:
    url: 'https://prestashop.example.com'
    api_key: 'abc1234'
  loader:
    type: 'products'
    method: 'create'
    options: 
      id_shop: 1
      id_group_shop: 1

阅读 在线文档 获取更多详细信息。