Sha256: 1b769b1485f01fa3b4332506967268f59ada2c67a21caf09d21e8a7ff04761b8
Contents?: true
Size: 636 Bytes
Versions: 2
Compression:
Stored size: 636 Bytes
Contents
# frozen_string_literal: true module ZoomEye module Clients class Web < Base # # Search the Web technologies # # @param [String] query Query string # @param [Integer, nil] page The page number to paging(default:1) # @param [String, nil] facets A comma-separated list of properties to get summary information on query # # @return [Hash] # def search(query, page: nil, facets: nil) params = { query: query, page: page, facets: facets }.compact _get("/web/search", params) { |json| json } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zoomeye-rb-0.2.0 | lib/zoomeye/clients/web.rb |
zoomeye-rb-0.1.1 | lib/zoomeye/clients/web.rb |