Course:CPSC312-2018-Hotel-Recommender

From UBC Wiki

Title

Authors: Joy, Rachel

What is the problem?

We want to help recommend hotels, restaurants, and shopping areas to travellers. With our command line app, users can query different locations (cities or countries) and categories (shopping, restaurant, and hotel). The result will be real time data, and will return name, address and further categorization of the recommendation.

What is the something extra?

Given a location (i.e. City or Country), we fetched geolocation data (Latitude and Longitude) via the HERE API. Using the same API, we also fetched lodging, food, and shopping data corresponding to that location. This data is fetched in real time for each query.

What did we learn from doing this?

(This should be written after you have done the work.) What is the bottom-line? Is functional programming suitable for (part-of) the task? Make sure you include the evidence for your claims.

We learned how to incorporate API queries into Prolog. Prolog is not easy for manipulating variable JSON data. Since the real time data doesn't contain enough information (ie. opening hours, or average customer ratings) it is hard for Prolog to do filtering and further recommendation for users. Prolog enables better separation of functions.

Links to code etc

https://github.com/rach96/TravelRecommender