Skip to content

Instantly share code, notes, and snippets.

View janklimo's full-sized avatar

Jan Klimo janklimo

View GitHub Profile
@janklimo
janklimo / bx.rb
Last active September 2, 2017 10:15 — forked from citizen428/bx.rb
bx.in.th API
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'net/http'
require 'json'
require 'yaml'
unless ARGV.count == 0 || ARGV.count == 1
puts "Usage #{$0} [--mappings]"
exit