【文件属性】:
文件名称:reevoo:[未维护] Reevoo API 包装器
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-18 07:03:55
Ruby
安装
gem install reevoo
用法
client = Reevoo::Client.new(YOUR_TRKREF, YOUR_PASWORD)
client.products # return an array of all products with reviews
每个产品都有以下方法:
client.products.each do |product|
product.sku
product.number_of_reviews
product.summary.overall
product.rating # returns an array of ratings for a product
product.rating.each do |rating|
rating.id
rating.question
rating
【文件预览】:
reevoo-master
----reevoo.gemspec(917B)
----.gitignore(33B)
----LICENSE(1KB)
----spec()
--------client_spec.rb(280B)
--------spec_helper.rb(60B)
----lib()
--------reevoo.rb(438B)
--------reevoo()
----readme.md(1KB)
----Gemfile(37B)
----Rakefile(141B)