This is an API for a whiskey recommendation site.
Approximately 15,000 whiskey reviews were scraped and analyzed as seed data to determine how whiskeys are most commonly described. From that list we selected about 70 of the most accessible descriptors; terms such as cherry, chocolate, or light. A PostgreSQL database of roughly 370 whiskeys was then put together, each whiskey with it's own profile based on how often it is described by each of those terms.
There are two ways to discover new whiskeys with the API. The first is the shoot endpoint. Different tags, regions, and price ranges can be sent as a query string and a list of whiskeys will be returned, ordered by how closely they match the terms.
The other is with the comparable field that is on each whiskey. This is a list of the other whiskeys in the database that it most closely matches. These comparables are generated with the set_comps command which takes an array of each whiskeys' attributes, calculates the Euclidean Distance from every other array, and returns the most similar items.
The website can be viewed at http://goo.gl/6ZdBRz
All endpoints are listed and documented here: https://evening-citadel-85778.herokuapp.com/docs/
Code: Written in Python with the Django REST API framework.
Data gathering and analysis: PRAW, pandas, and numpy.
Text search: Elasticsearch.
Image hosting: Cloudinary.
Continuous integration: Travis and Coveralls.
The Whiskey Proof front end was written by Mark Medeiros using Javascript and the React framework.
Heather Borowinski edited and resized the whiskey images and created their background.