Changelog
2.0.0 (2017-09-20)
BREAKING CHANGES
Error
object instead of a string.
err.message
instead of err
.Promise
is now used instead of bluebird
request
/request-promise
to axios
which is has built-in Promise
usage. This means Error objects may look slightly different.
status
is returned now instead of statusCode
.With the exception of the reviews function (and returning Error
s), the API interface should be nearly identical as the existing test suite was used to ensure the same functionality. The code behind all other funtions has been refactored to make adding some new features a bit easier.
Features:
Added version()
which returns the current API version and package version.
Added the ability pass a custom function via debug
for debug information.
Added automatic rate limiting to avoid 429 Too Many Requests
errors.
requestsPerSecond
option.Added Node stream support as JSON and XML via these new endpoints:
availabilityAsStream
openBoxAsStream
(xml streaming not supported)categoriesAsStream
productsAsStream
storesAsStream
Changelog
1.1.0 (2017-05-01)
Features:
Changelog
1.0.0 (2015-11-04)
Breaking Changes:
var bby = require('bestbuy')();
Features: