PHP code example of huoban / api-sdk-php
1. Go to this page and download the library: Download huoban/api-sdk-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
huoban / api-sdk-php example snippets
$config = [
'ticket' => 'xxxx',
'application_id' => 'xxxx',
'application_secret' => 'xxxxx',
];
$huoban = new Huoban([
'ticket' => 'xxxx'
]);
$table = $huoban->create('table');
$table->get('table_id');
$huoban = new Huoban([
'application_id' => 'xxxx',
'application_secret' => 'xxxx'
]);
$table = $huoban->create('table');
$table->get('table_id');