threetaps-client

Installation

Usage

To perform a search you need to

  1. create SearchRequest object and fill its attributes

    request = SearchRequest.new

    request.rpp = 10

    request.text = “porsche”

  2. create SearchClient object

    client = SearchClient.new

  3. call search method on client with request as a parameter and get an SearchResponse object.

    response = client.search(request)

  4. now you can operate with search results:

    postings = response.results

    quantity = response.num_results

    execution_time = response.exec_time_ms

Contributing to threetaps-client

Copyright © 2011 3taps.com. See LICENSE.txt for further details.