Assignments > HW6: Getting Started on P2
Due on Fri, 12/03 @ 11:59PM. 8 Points.
In this assignment, you will be completing 20 points of your Project 2, to get a solid start. Your grade will be calculated by dividing your total score (20 possible points) by 2.5 (so that it scales to 8 possible points).
Option 1: Yelp
Please complete Parts 1-3 of Project 2, which involves asking the user for their (1) restaurant category and (2) sort preferences, and then (3) displaying any matching restaurants to the screen (with an optional keyword filter).
Ultimately, your program will allow your user to browse through matching restaurants, and email a restaurant selection to a friend, but that’s not required for HW6.
You will be graded as follows…
Category Selection (8 Points)
2 Points | Displays the user’s selected categories(s) if any |
2 Points | Displays the available Yelp categories from which to choose |
2 Points | Allows user to select among categories |
2 Points | Allows user to clear out selected categories and start over |
Ordering / Sorting Criteria (4 Points)
1 Point | Displays the user’s current sort preference |
1 Point | Displays possible sorting criteria |
2 Points | Allows user to specify their preferred ordering criteria (best_match, rating, review_count, distance) |
Previewing matching restaurants (8 Points)
2 Points | Allows the user to specify a search keyword |
3 Points | Results honor user’s selected location, categories, and sorting criteria |
3 Points | Prints restaurants to the screen in some coherent format (consider using a pandas dataframe for this). |
Option 2: Spotify
Please complete Part 1 & 2 of Project 2, which involves asking the user for their genre and artist preferences.
Ultimately this information will be used to seed the Spotify recommendation service, but actually getting song recommendations is not necessary for HW6.
You will be graded as follows…
Genre Selection (8 Points)
2 Points | Displays the user’s selected genre(s) if any |
2 Points | Displays available genres |
2 Points | Allows user to select among genres presented |
2 Points | Allows user to clear out their selected genres and start over |
Artist Selection (12 Points)
3 Points | Displays the names of the user’s selected artist(s) if any |
3 Points | Allows user to search for artist |
3 Points | Allows user to select among artists returned from Spotify |
3 Points | Allows user to clear out selected artists and start over |
What to Turn In
- Your code as a zip file. This should include all of the files that make your code work.
- Please only submit 1 set of code files per team and list who you collaborated with in the submission comments (so that when we run our code similarity checker, we don’t flag you and your collaborators). Your teammates should then just post a comment that says, “see X’s submission for the code. My collaborators were X and Y.”