#!/usr/bin/ruby require 'json' require 'net/http' game = String.new http = Net::HTTP.new('ffbans.org', 443) http.use_ssl = true #http.verify_mode = OpenSSL::SSL::VERIFY_NONE response = JSON.parse(http.request(Net::HTTP::Get.new("/data.php?op=all")).body) for ban in response printf( "%-19s %-7s %3s %-20s\n", ban['Timestamp'], ban['Server'].to_s, ban['Rating'].to_s, ban['Name'] ) end