Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
require 'xmlrpc/client'
host = '自分のBacklogのサブドメイン'
path = '/XML-RPC'
port = '443'
proxy_host = nil
proxy_port = nil
user = 'ユーザー名'
password = 'パスワード'
use_ssl = true
timeout = 60
client =, path, port, proxy_host, proxy_port, user, password, use_ssl, timeout)
#result ='backlog.getProject', プロジェクト番号)
#result ='backlog.getUsers', ユーザー番号 )
#result ='backlog.getTimeline')
puts result
rescue XMLRPC::FaultException => e
puts "fault #{e.faultCode}: #{e.faultString}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment