Random Restaurant is an Alexa Skill that helps people decide where to eat. Often, friends may disagree on what to have for dinner, or if someone is new to an area, they may not be aware of all the nearby food options. Users can simply say “Alexa, ask Random Restaurant for a place to eat”, and the app will give them a restaurant recommendation that is nearby and currently open.
The Skill is hosted on AWS as a node.js lambda function. It works by collecting the user’s address from the device that makes the request. It then passes that information to the Yelp public API, which returns a list of nearby and open restaurants. From that list, one restaurant is randomly chosen and suggested to the user. Users can also request a specific type of food or limit the price range of the suggested restaurant.