-
-
Save Sutto/772481 to your computer and use it in GitHub Desktop.
Simple JSON / XML etc for APIs using HTTParty and Awesome Print
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 'httparty' | |
require 'awesome_print' | |
ap HTTParty.get(ARGV[0]).parsed_response |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment