Retailigence
A Ruby gem wrapper for interacting with the Retailigence API. Learn more at http://retailigence.com/developers
Install
gem install retailigence
Configure
Retailigence.configure do |config|
config.apikey = "your-api-key"
end
Use
results = Retailigence::Product.search(barcode: '001122334455', requestorid: '00deadbeef00', latitude: 27.92, longitude: -82.48)
Results:
product = results["RetailigenceSearchResult"]["Results"]["Result"][0]
name = product["Name"]
msrp = product["MSRP"]