-
Notifications
You must be signed in to change notification settings - Fork 0
/
pseudo_code.py
37 lines (24 loc) · 1.08 KB
/
pseudo_code.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Yelp OAuth
# Ask user what city they plan to visit, save as variable
# Ask user if they want to do a food or activities search
# Create function to query top 10 locations
# Use Yelp API to pull a list of top 10 things in the city of choice
## Yelp API instructions: https://api.yelp.com/v2/search?term=food&location=San+Francisco
## https://api.yelp.com/v2/search?term=food&location=San+Francisco
### location=location
#### Specifies the combination of "address, neighborhood, city, state or zip, optional country" to be used when searching for businesses.
# Allow user to search business using search
# Add user choices to a list
# Print list of all of users choices
# Ask user if they've choosen all the things they want
# send query to google maps to print
# https://developers.google.com/maps/documentation/static-maps/
## Google Developers API Key: AIzaSyCuwSzU40msMCb4KMN70WPnEc9sNwsikzs
User Flow:
Ask user what city
Ask user what state
Ask if they want to do a food or things to do search:
return food -> food route
return things to do -> things to do route
Food Route:
Search Options