No beers selected
All beers selected
The Wegmans API seemed like a treasure trove of fun data to play with. We wanted to work with something we had a personal interest in, and decided to measure which types of beers are most popular within different sale zones.
What it does
Beer Popularity allows the user to select a Wegman's 'Sale Zone', as well as a beer. This data is used to query the 'Sales Velocity' of each selected beer at all of the stores within the chosen Sale Zone.
How I built it
We developed a script using jQuery to interact with the Wegman's API. A basic HTML webpage is used to input data.
Challenges I ran into
We had some initial problems using the Wegmans API. Originally we wanted to focus more on Sales data but realized we didn't have permissions for those data sets. We transitioned to using the arbitrary sales velocity value, which then led to us reaching limits in the number of queries we were performing. By reducing the amount of possible stores and beers that could be queried, we were able to work around this limit to create something we're proud of.
Accomplishments that I'm proud of
Successfully learned and implemented a new API
Provide critical feedback to the API developers
Started a foundation for an interesting way to understand demographics within an area by alcohol sales data
What I learned
乁( ⁰͡ Ĺ̯ ⁰͡ ) ㄏ
What's next for BeerPopularity
No plans to develop this any futher
How to use
- Download files from repo below
- Open index.html in Chrome
- Install this extension for Chrome (https://chrome.google.com/webstore/detail/moesif-origin-cors-change/digfbfaphojjndkpccljibejjbppifbc?utm_source=chrome-ntp-icon)
- Run that extension to modify CORS headers. Then refresh index.html