Skip to content

Instantly share code, notes, and snippets.

@mixonic
Created November 21, 2009 04:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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