parentyazilim/api-v2-php
Composer 安装命令:
composer require parentyazilim/api-v2-php
包简介
Parent Yazılım v2 PHP Api Client
README 文档
README
Bulut tabanlı yazılım servislerinin php ile hazırlanmış örnek api kodları
Authorize and get token
<?php use Parent; require_once __DIR__ . '/vendor/autoload.php'; $client = new Client([ "username" => "user", "password" => "pass" ]); // get token and save src/token.ini
- Create a new Customer
$customer = [ 'contact_type_code' => 'person', 'code' => 'CH001', 'email' => 'info@parent.com.tr', 'contact_type' => 'person', 'firstname' => 'John', 'lastname' => 'Doe', 'country' => 'Türkiye', 'state' => 'Ankara', 'city' => 'Çankaya', 'status_code' => 'approved', 'is_login_enabled' => false ]; $customer = new Parent\Customer($client); $customer->create($customer);
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-29