joedawson / amazon-ecs

With Laravel, search and lookup Amazon products easily.
MIT License
52 stars 26 forks source link

Added searching by category #9

Closed Xoshbin closed 7 years ago

Xoshbin commented 7 years ago

Added support for searching by category. the usage should be like the code below if you want to search by a category, the name of the categories should be the same as written on Amazon and I think most of them there first letters are uppercase. $results = Amazon::search('Home Alone', 'Electronics')->json(); And if you didn't write the second parameter it will search in 'All' categories. I hope it's useful. Thanks

joedawson commented 7 years ago

I like this dude, should have been in there to begin with 👍

I'll take a look this weekend (if I can make time to check it's working, although I don't doubt it isn't working) and will merge if all good!

joedawson commented 7 years ago

I'll merge this soon, just need to test it in a couple of hours :)

joedawson commented 7 years ago

Hey @Xoshbin,

I couldn't merge this as it removes the buildString() call and it also removes the custom response group.