Closed Xoshbin closed 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!
I'll merge this soon, just need to test it in a couple of hours :)
Hey @Xoshbin,
I couldn't merge this as it removes the buildString()
call and it also removes the custom response group.
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