Google Maps Integration
People have a hard time deciding where to eat with so many options available within a city and food category. This generator helps indecisive users pick somewhere to eat and leads to the discovery of new locations to eat.
What it does
Users input their desired location and optional food category into the generator. The Yelp API will give users a random location to eat at with the given parameters. The user will see the name, star ratings, and address with google maps integration of the restaurant. The location can be a city, zip code, or country and the search tag will take in any input related food. The versatility of these inputs can allow users to be as vague or specific as possible.
How we built it
We implemented Yelp's API to find all the places that comply with the user's parameters. Iterating through the given dictionary, as a result, we generated a random number to grab a place to eat and present it to you the user.
Challenges we ran into
Some challenges that we encountered was implementing the jinja template and access the dictionary given from the Yelp's API. Additionally, figuring how to operate flask was a difficult task because of the terminal issues we had.
Accomplishments that we're proud of
We are proud of reading the user's input and implementing that into our python code that would ultimately communicate with Yelp's API
What we learned
As a team, we learned how to use Flask, Bootstrap and how to communicate the frontend and backend together.
What's next for Random Eats
Refine the user interface to be more elegant and intuitive. The user's input can be expanded and take in the amount of money they would like to spend, or how high they want the ratings. As a result, users can get a randomly generated place to eat the complies with their needs. Additionally, implementing this platform as an extension to the Yelp platform will allow users to utilize this function and have fun deciding where to eat. Finally, an IOS application that can automatically read the user's location to easy use and convenience.