‘Beware: This gem is under development and has not been tested on production environment yet.’
This is the lightweight wrapper for BuscaPé API. (developer.buscape.com)
Simple as:
gem install buscape
First instantiate a new ‘Buscape::Base’ object with two parameters (application_id, sandbox? (default: false)), for example:
b = Buscape::Base.new("you_application_id")
Then you can use like this:
b.category(77).products
This get all products in the cellphone category.
Easy, huh? :P
Help me improving this gem (and the documentation of course)! Fork this project and feel free to help. :)