チャットワークをrubyから使う
アカウントの作成
チャットワークAPIの申請
https://www.chatwork.com/service/packages/chatwork/subpackages/api/apply_beta.php
チャットワークAPI
http://developer.chatwork.com/ja/index.html
gem
asonas/chatwork-ruby
ChatWorkのAPIを叩けるGemをつくった - 良いあそなすちゃん
Gemfile
gem 'chatwork'
XXXX.rb
require 'chatwork' ChatWork.api_key = "XXX" ChatWork::Message.create(room_id: 1234, body: "Hello, ChatWork!")