Skip to content

Instantly share code, notes, and snippets.

@mixonic
Created November 21, 2009 04:03
Show Gist options
  • Save mixonic/239990 to your computer and use it in GitHub Desktop.
Save mixonic/239990 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'curl'
require 'json'
client = Curl::Easy.perform(
"http://#{ENV['PPW_USER']}:#{ENV['PPW_PASS']}" +
"@www.pushpinweb.com" +
"/datasets/1.json"
)
y JSON.parse(client.body_str)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment