devxnetx/bo-api-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devxnetx/bo-api-php

最新稳定版本:0.2.0

Composer 安装命令:

composer require devxnetx/bo-api-php

包简介

PHP package for burzi-obiavi.com API

README 文档

README

burzi-obiavi.com JSON API documentation

Installation

You can install this package via composer

composer require devxnetx/bo-api-php

Example usage

Initialize the API with your burzi-obiavi.com registration credentials (username/password) you can also see these examples in examples folder.

$burziObiavi = new BurziObiavi('username', '123123123');

Get cities

$burziObiaviCitites = $burziObiavi->getNomenclatureService()->cities();

Get categories

$burziObiaviCategories = $burziObiavi->getNomenclatureService()->categories();

Post ad

api_custom_id - Put your product id here, if we match already existing product ids, the AD data will be updated, else we create the product.

$burziObiaviPostAdResponse = $burziObiavi->getAdService()->postAd([
    "title"         => "Your Ad Title - Не приема HTML",
    "content"       => "<b>DESCRIPTION</b>",
    "price"         => "100",
    "phone"         => "0888888888",
    "city"          => 727011,
    "catid"         => 11,
    "subcatid"      => 181,
    "api_custom_id" => "ID from your system",
    "images"        => ["https://cdn.shopify.com/s/files/1/2394/4001/files/21_MAYO_e83d41cd-e674-4508-8d9a-267075361e02_480x480.jpg"]
]);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-19