Sha256: c20cc3dfbca25c4a0eacdc48e81ca26d089a338f32637bc5b55e4206cc7e2ebb

Contents?: true

Size: 272 Bytes

Versions: 5

Compression:

Stored size: 272 Bytes

Contents

#!/usr/bin/env ruby

require 'pricesphere'

API_KEY = 'Your API Key'

product_attributes = {
  brand: 'Toshiba',
  site: 'newegg.com'
}

pricesphere = Pricesphere::Product.new(API_KEY)
# Products is an enumerator
products = pricesphere.with_attributes(product_attributes)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pricesphere-0.2.3 examples/product_search.rb
pricesphere-0.2.2 examples/product_search.rb
pricesphere-0.2.1 examples/product_search.rb
pricesphere-0.2.0 examples/product_search.rb
pricesphere-0.1.0 examples/example.rb