Socket
Socket
Sign inDemoInstall

bestbuy

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bestbuy - npm Package Versions

1

2.0.1

Diff

Changelog

Source

2.0.1 (2017-09-21)

  • Fix error when search query is blank.
flet
published 2.0.0 •

Changelog

Source

2.0.0 (2017-09-20)

BREAKING CHANGES

  • The reviews function has been removed as its no longer available in the API.
  • If errors are encountered, functions will now return an Error object instead of a string.
    • This may mean updating existing code to check err.message instead of err.
  • Native Promise is now used instead of bluebird
  • Node version 4 or higher is now required to use this package.
  • We've switched from request/request-promise to axios which is has built-in Promise usage. This means Error objects may look slightly different.
    • For Example. status is returned now instead of statusCode.

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.

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.

    • This can be manually adjusted via the requestsPerSecond option.
  • Added Node stream support as JSON and XML via these new endpoints:

    • availabilityAsStream
    • openBoxAsStream (xml streaming not supported)
    • categoriesAsStream
    • productsAsStream
    • storesAsStream
    • These endpoints will return all results and handle pagination/throttling automatically.
    • Check the README/examples for more details.
flet
published 1.1.0 •

Changelog

Source

1.1.0 (2017-05-01)

Features:

  • Added warrany endpoint support. (thanks @troymccabe!)
  • Removing references to the deprecated "similar" endpoint
flet
published 1.0.1 •

Changelog

Source

1.0.1 (2017-02-27)

  • Added addtional test coverage.
ecaron
published 1.0.0 •

Changelog

Source

1.0.0 (2015-11-04)

Breaking Changes:

  • Initialization method must be invoked even when setting environment variables<br> var bby = require('bestbuy')();
  • Callbacks were changed to correctly implement 'error first' pattern.<br>

Features:

  • Travis CI builds
  • Coveralls code coverage
  • Jasmine-Node integration / unit tests
  • Availability
  • OpenBox (the "Buying Options" part of our API)
  • Categories
  • Products
  • Recommendations
  • Reviews
  • Stores
  • Pass custom headers
  • Toggle request/response debugging
  • Invoke helper using promises
ecaron
published 0.0.4 •

ecaron
published 0.0.3 •

ecaron
published 0.0.2 •

kwhinnery
published 0.0.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc