This is the lightweight wrapper for Lomadee API. (developer.buscape.com/api/api-e-documentacao-lomadee)
Simple as:
gem install lomadee
First instantiate a new ‘Lomadee::Base’ object with two parameters (application_id, sandbox? (default: false)), for example:
lomadee = Lomadee::Base.new("you_application_id")
Then you can use like this:
lomadee.offers(categoryId: 77)
This get all products in the cellphone category. Or like this:
lomadee.products(keyword: "Apple")
This get all products using the keyword “Apple”
Help me improving this gem (and the documentation of course)! Fork this project and feel free to help. :)