Instantly share code, notes, and snippets.

View range.rb
# -*- coding: utf-8 -*-
=begin
This script was written by Takashi SUGA on July 2017 - August 2018
You may use and/or modify this file according to the license described in the MIT LICENSE.txt file
https://raw.githubusercontent.com/suchowan/watson-api-client/master/LICENSE.
See also http://suchowan.at.webry.info/201808/article_5.html
=end
require 'pp'
View homepage.rb
# -*- coding: utf-8 -*-
=begin
This script was written by Takashi SUGA on January 2017-August 2018
You may use and/or modify this file according to the license described in the MIT LICENSE.txt file https://raw.githubusercontent.com/suchowan/watson-api-client/master/LICENSE.
=end
require 'open-uri'
require 'openssl'
require 'json'