Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 660 Bytes

README.rdoc

File metadata and controls

27 lines (14 loc) · 660 Bytes

BuscaPé

‘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)

How to install?

Simple as:

gem install buscape

How to use?

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. :)