2017 © Pedro Peláez
 

library chatwork-php

ChataWork API client library

image

kitchenu/chatwork-php

ChataWork API client library

  • Sunday, March 18, 2018
  • by kitchenu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Chatwork API Client

Build Status License, (*1)

ChatWork API Client for PHP., (*2)

Installation

$ composer require kitchenu/chatwork-php

Usage

<?php

require 'vendor/autoload.php';

$client = new Kitchenu\Chatwork\Client('chatwork-api-token');

$response = $client->request('GET', 'me');

echo $response->mail;
// mail@example.com

How to request endpoint ( POST /rooms/{room_id}/messages ), (*3)

$client->request('POST', 'rooms/123456789/messages', ['body' => 'Hello']);

or, (*4)

$client->postRoomMessages([
    'room_id' => '123456789',
    'body' => 'Hello'
]);

Documentation

The Versions

18/03 2018

dev-master

9999999-dev

ChataWork API client library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar kitchenu

chatwork

18/03 2018

1.0.1

1.0.1.0

ChataWork API client library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar kitchenu

chatwork

17/03 2018

1.0.0

1.0.0.0

ChataWork API client library

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar kitchenu

chatwork