https://github.com/qodesmith/walmart-search
A Backbone app utilizing the Walmart search api.
https://github.com/qodesmith/walmart-search
Last synced: about 2 months ago
JSON representation
A Backbone app utilizing the Walmart search api.
- Host: GitHub
- URL: https://github.com/qodesmith/walmart-search
- Owner: qodesmith
- Created: 2016-05-14T00:46:29.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-20T02:54:17.000Z (about 10 years ago)
- Last Synced: 2025-07-21T18:59:10.007Z (11 months ago)
- Language: CSS
- Size: 200 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WALMART SEARCH!
This [Backbone.js](http://backbonejs.org/) app utilizes the [Walmart search api](https://developer.walmartlabs.com/docs/read/Search_API) to produce a sortable, filterable list of products from the search results. All data persists to localStorage on your machine.
## INSTALLATION
Download the zip file in the top right of this screen. Within that zip you'll find a `public` folder. Extract that and run the `index.html` file within. #EasyPeazy
You can also use the app live [here](http://rawgit.com/qodesmith/walmart-search/master/public/index.html) thanks to the good folks at [RawGit](https://rawgit.com/)!
## USAGE
### Simple Search
To begin, simply enter a product in the top query input field and press enter or click "Add Products". By default, the list below will be populated with 10 results. If no results are found, a "NO RESULTS" message will appear indicating so.
### Advanced Search
If you'd like to further customize your search, click on "Advanced Search" to reveal more options for your search:
* ***Brand Name***: Filter your query by brand name. This field is case-sensative, so some experimenting may be needed for desired results.
* ***Results***: Determines how many products are returned for each search. The default is 10, the max is 25, and the minimum is 1. Any values above 25 will be reduced to 25, and values below 1 will produce the default of 10.
* ***Start at***: The Walmart catalog is robust, to say the least. This will cause your query to start at this number in the list of total products found by the api. The max value is 1000.
* ***Sorted By***: You can have your query delivered pre-sorted by the following options: _relevance_, _price_, _title_, _best seller_, _customer rating_, and _new_.
### THE LIST
The list has a few features for your convenience:
* ***Search Products***: Once you've completed a search, the _Search Products_ field can be used to filter the results. It filters as you type. To clear the filtered results, simply click the "x" that appears in the field.
* ***Remove All Products***: Removes all products at once from the list. This can be useful when you have a long list.
* ***Product*** _(header)_: Clicking this field in the _header_ of the list table will reverse the order of the list. Your scrolling position within the list is maintained.
* ***Brand Name***: For _each product_ in the _list_, the _Brand Name_ entry is an editable input field which you can name what you want. By default, the field is pre-populated with the results from the api. Clicking outside the field after editing will automatically persist the data to localStorage.
* ***Close***: Clicking the _red "x"_ at the far right of each product will remove that product from the list.