realTimeAvailabilityto check the near real-time availability of a sku for a store or postal code.
Errorobject instead of a string.
Promiseis now used instead of
axioswhich is has built-in
Promiseusage. This means Error objects may look slightly different.
statusis returned now instead of
With the exception of the reviews function (and returning
Errors), 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.
version()which returns the current API version and package version.
debugfor debug information.
Added automatic rate limiting to avoid
429 Too Many Requests errors.
Added Node stream support as JSON and XML via these new endpoints:
openBoxAsStream(xml streaming not supported)
var bby = require('bestbuy')();