Homework 6: Server-Side Scripting using Python, JSON and Ticketmaster API
Grading Guidelines
Graders will test your homework on Firefox and Chrome.
Grading Guidelines:
Search Form (3.5 points in total)
• The initial webpage with proper fields in the search form, along with “Events Search” header. (1.5 points)
• •
•
•
• V alidation
point)
• For each not correctly reset or cleared field, 0.25 point will be deducted, for a
maximum deduction of 1 point.
Search Result Table (6.5 points)
• Show the search information retrieved from the API service in a tabular format as described in the homework description. (2.5 points)
• For each missing column in the table, 0.5 point will be deducted.
• For each incorrect column value or column order mismatch, 0.5 point will be
deducted.
• For each missing row/category date/icon/event/genre/venue in the table, 0.5
point will be deducted.
• For each incorrect row/category date/icon/event/genre/venue, 0.5 point will be
deducted.
• The search should work for all 5 possible categories. For every missing
search, 0.5 point should be deducted.
The drop-down list should contain all the 5 categories, 0.25 points will be deducted for each missing category
Location edit box must be disabled when choosing “Here” radio and enabled when selecting it, 0.5 points
Both Distance and Location edit boxes should have a placeholder, 0.25 points Maximum deduction will be 1.5 points
for the search inputs, the error message(s) should indicate if fields are missing.
If there is no error message for invalid input, 1 point will be deducted.
• The “Clear” button resets the search form to the initial state and clears the results area. (1
(1 point) •
• Maximum deduction will be 2.5 points.
• Handle the case when the event in table is clicked. (2 points)
• Not directing the user to the section with populated event details on clicking the event, will result in 0.5-point deduction.
• For each missing/incorrect information, 0.5 point will be deducted.
• Maximum deduction will be 2 points. Clicking on Artist/Team should redirect user to the
corresponding page (0.5 point)
• Clicking on “Buy Ticket At” link should redirect the user to the page to buy tickets online
(0.5 point)
• Handle the case when the API service returns an empty result set. (1 point)
**IMPORT ANT**
• You may call Google Geocoding API from JavaScript, but you should not call any Ticketmaster API’s directly from JavaScript. Doing this will result in 4.0-point penalty.
• You should implement hw6 using GCP cloud server as described in hw5. Otherwise, 3.0 points will be deducted.
Source code submission
Students should submit their source code electronically on DEN D2L. In addition, on your course homework page, you must update HW6 link to refer to your new hw6 home page.