PHP code example of polidog / php-chatwork-api
1. Go to this page and download the library: Download polidog/php-chatwork-api 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/ */
polidog / php-chatwork-api example snippets
$ composer
$user = $chatwork->me()->show();
// APIのレスポンスはすべてオブジェクトの形で取得できます
var_dump($user);
$members = $client->rooms()->members(123456/* roomidを指定します。*/);
var_dump($members);
$files = $client->rooms()->files($room_id)->detail($file_id);