devxnetx/bo-api-laravel
最新稳定版本:0.1.0
Composer 安装命令:
composer require devxnetx/bo-api-laravel
包简介
Laravel wrapper for BO-API-PHP package for burzi-obiavi.com
README 文档
README
burzi-obiavi.com JSON API documentation
Installation
You can install this package via composer
composer require devxnetx/bo-api-laravel
Config
Put your burzi-obiavi.com profile credentials in config/burziobiavi.php. There are no API keys or such
[
'username' => 'YOUR USERNAME',
'password' => 'YOUR PASSWORD',
// You can use it for fallback - Sofia (727011)
'city' => 727011
];
Get cities
BurziObiavi::getCities();
Get categories
BurziObiavi::getCategories();
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.
BurziObiavi::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"] ]);
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-20