PHP code example of taksolder / chatwork
1. Go to this page and download the library: Download taksolder/chatwork 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/ */
taksolder / chatwork example snippets
$chatwork = new \TakSolder\Chatwork\Chatwork('YOUR_CHATWORK_API_TOKEN');
$chatwork->me(); // https://api.chatwork.com/v1/me
$endpoint = 'https://api.chatwork.com/v1';
$chatwork = new Chatwork('YOUR_CHATWORK_API_TOKEN', $endpoint);
$chatwork->me(); // https://api.chatwork.com/v1/me