PHP code example of fnayou / zeppelin
1. Go to this page and download the library: Download fnayou/zeppelin 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/ */
fnayou / zeppelin example snippets
php
// you can access api as method (according to the api description file)
try {
$response = $client->user([
'X-APPID' => '26041986',
'user_id' => 26,
]);
} catch (\GuzzleHttp\Exception\RequestException $e) {
$response = json_decode($e->getResponse()->getBody()->getContents());
}
dump($response);