-
need to install enquiries module
pip3 install enquiries
python3 main.py use_local=[true/false]
Or :
python3 main.py use_local=[true/false] key=[key]
key is the API key provided in the report
Using the key will enable the function that tells your distance from your current location to destination
By setting use_local as false, you will fetch data from yelp fusion based on cities included in [new_city_list.txt] instead of using local data
You can change the city list by editing the [new_city_list.txt] file
three level data structure:
used for construct selection tree and look up details of the restaurant after recommendations
- city
- name of restaurant
- infomation of restaurant
for each restaurant, the data structure stores information like price level, category, address, image URL, website URL
four level data structure:
tree like structure to search restaurant that satisfies user's requirements
- city
- category
- price level
- name of restaurant