A flask app that pick restaurant for you randomly in Hong Kong. Data is retrieved from Openrice.
Set up a MongoDB account and put Mongo connection url in .env as MONGO_URL. Run the script in scrapping.py
to create collections and records in the database.
Then run ./start.sh
to start the service.
Method: GET
URL: http://127.0.0.1:5000/restaurant
Query Parameters:
- location: String, optional. List of possible locations can be found in settings.py
Method: GET
URL: http://127.0.0.1:5000/restaurant/status
Query Parameters:
- poi_id: String, required. The ID of a restaurant.