Skip to content

joaorsalmeida/buscape-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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. Or like this:

b.keyword(“Apple”).products

This get all products using the keyword “Apple”

Easy, huh? :P

Help me improving this gem (and the documentation of course)! Fork this project and feel free to help. :)

About

A lightweight Ruby wrapper for BuscaPé API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%