1. require 'uri'
  2. require 'net/http'
  3.  
  4. g_api = "http://www.googleapis.com/"
  5. tableId = 'STRING CONTAINING TABLE ID'
  6. styleId = '4'
  7. key = 'STRING CONTAINING MY FUSION TABLES API KEY'
  8.  
  9. google_api = Net::HTTP.new 'www.googleapis.com'
  10. get_req = google_api.get "/fusiontables/v1/tables/#{tableId}/styles?key=#{key}"
  11.  
  12. puts get_req.body