ChatWork API Interface for Elixir.
If available in Hex, the package can be installed
by adding exchatwork
to your list of dependencies in mix.exs
:
def deps do
[{:exchatwork, "~> 0.1.0"}]
end
$ export CHATWORK_API_TOKEN=YOUR_CHATWORK_API_TOKEN
$ iex -S mix
iex> response = ExChatwork.get_rooms
iex> response.body
iex> response.headers
iex> response.status_code
Method |
Endpoint |
Implemented Version |
GET |
/rooms |
0.1.0 |
POST |
/rooms |
|
GET |
/rooms/{room_id} |
|
PUT |
/rooms/{room_id} |
|
DELETE |
/rooms/{room_id} |
|
GET |
/rooms/{room_id}/members |
|
PUT |
/rooms/{room_id}/members |
|
GET |
/rooms/{room_id}/messages |
|
POST |
/rooms/{room_id}/messages |
|
GET |
/rooms/{room_id}/messages/{message_id} |
|
GET |
/rooms/{room_id}/tasks |
|
POST |
/rooms/{room_id}/tasks |
|
GET |
/rooms/{room_id}/tasks/{task_id} |
|
GET |
/rooms/{room_id}/files |
|
GET |
/rooms/{room_id}/files/{file_id} |
|
Method |
Endpoint |
Implemented Version |
GET |
/me |
|
Method |
Endpoint |
Implemented Version |
GET |
/my/status |
|
GET |
/my/tasks |
|
Method |
Endpoint |
Implemented Version |
GET |
/contacts |
|
Method |
Endpoint |
Implemented Version |
GET |
/incoming_requests |
|
PUT |
/incoming_requests/{request_id} |
|
DELETE |
/incoming_requests/{request_id} |
|
API Reference – exchatwork v0.1.0
MIT