caseysoftware / bestbuy-helper
A PHP wrapper for the Best Buy API
2.0.1
2016-01-09 21:40 UTC
Requires
- php: >=5.5.0
- guzzlehttp/guzzle: ~6.0
This package is auto-updated.
Last update: 2024-12-11 15:09:50 UTC
README
PHP Helper Library for Best Buy
Installing via Composer
The recommended way to install the Best Buy library is through Composer.
# Install Composer
curl -sS https://getcomposer.org/installer | php
# Add the library as a dependency
php composer.phar require caseysoftware/bestbuy-helper ~2.0
or alternatively, you can add it directly to your composer.json
file.
{
"require": {
"caseysoftware/bestbuy-helper": "~2.0"
}
}
Then install via Composer:
composer install
Finally, require Composer's autoloader in your PHP script:
require __DIR__.'/vendor/autoload.php';
To use any of the examples, rename credentials-dist.php to credentials.php and add your API key from here: https://remix.mashery.com/apps/mykeys
TODO
- Implement lists for
Products,Stores,Reviews,Categories, and Recommendations - Implement pagination for
Products,Stores,Reviews,Categories, and Recommendations Search and return product information for a product based on a description or SKU?Search and return products based on review criteriaSearch and return product based on model numberSearch for what is included with a product, accessory skus and related SKUsAll stores within a cityAll stores within a zipcodeStores closest to a specified geo-locationStores within a radius from a specific locationReturns reviews for a specific productReturns reviews for a list of productsReturns products with a rating greater then 4Returns reviews submitted on a specific dateReturn category information using category identifierReturn category information using category name- Example Trending Products endpoint