Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'uri'
- require 'net/http'
- g_api = "http://www.googleapis.com/"
- tableId = 'STRING CONTAINING TABLE ID'
- styleId = '4'
- key = 'STRING CONTAINING MY FUSION TABLES API KEY'
- google_api = Net::HTTP.new 'www.googleapis.com'
- get_req = google_api.get "/fusiontables/v1/tables/#{tableId}/styles?key=#{key}"
- puts get_req.body
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement