Skip to content
🏷 Download data from the Best Buy Catalog API in bulk from the command line
Branch: master
Clone or download
Latest commit 1e254a3 Nov 21, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images add stores image and note about stdout Sep 22, 2017
test update README and --help Sep 25, 2017
.gitignore add release script Sep 25, 2017
.npmignore add test coverage and --bare mode Sep 22, 2017
.travis.yml test node 8 Sep 25, 2017
CHANGELOG.md update CHANGELOG Nov 21, 2017
LICENSE.md init Sep 22, 2017
README.md update README Sep 25, 2017
bin.js add debug flag Nov 20, 2017
index.js add debug flag Nov 20, 2017
package.json 1.1.1 Nov 21, 2017

README.md

bestbuy-cli

npm travis standard

Download data from the Best Buy Catalog API in bulk from the command line.

Get an API key at developer.bestbuy.com.

Best Buy CLI Tool

Install

npm install --global bestbuy-cli

Can't install node? Download a standalone executable from the GitHub Releases page!

Usage

>bestbuy --help

Best Buy Bulk Download Tool (https://github.com/BestBuyAPIs/bestbuy-cli)

Usage: bestbuy [resource] [options]

    Examples:
      bestbuy categories
      bestbuy products --query "active=true" --show "name,sku" --output products.json
      bestbuy stores --format xml --output stores.xml

    resource              resource to download: products, categories, stores
    --query, -q           use a custom query to filter the results
    --show, -s            fields to show
    --sort, -r            sort results by fields (comma separated)
    --key, -k             Best Buy API key (default: "BBY_API_KEY environment variable")
    --format, -f          format of the response as json, xml, csv or tsv (default: "json")
    --output, -o          name of file to send output (optional; If not present, out will go to stdout)
    --bare, -b            newline delimited - each item on own line without extra cruft (default: false)
    --version, -v         show version information
    --help, -h            show help

Visit the Best Buy API Documentation for more details on writing custom queries.

License

MIT

You can’t perform that action at this time.