Created
November 21, 2009 04:03
-
-
Save mixonic/239990 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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