lib/amee/connection.rb
def get(path, data = {})
      # Allow format override
      format = data.delete(:format) || @format
      # Add parameters to URL query string
      get_params = {
        :method => "get", 
        :verbose => DEBUG
      }
      get_params[:params] = data unless data.empty?
      # Create GET request
      get = Typhoeus::Request.new("#{protocol}#{@server}#{path}", get_params)
      # Send request
      do_request(get, format, :cache => true)
    end
def get(path, data = {})
      # Allow format override
      format = data.delete(:format) || @format
      # Add parameters to URL query string
      get_params = {
        :method => "get", 
        :verbose => DEBUG
      }
      get_params[:params] = data unless data.empty?
      # Create GET request
      get = Typhoeus::Request.new("#{protocol}#{@server}#{path}", get_params)
      # Send request
      do_request(get, format, :cache => true)
    end
GET data from the API, passing in a hash of parameters