HyungnaLim / ITEC2905-Project3

0 stars 1 forks source link

Ticketmaster API to search for events based on a user provided artist name. #4

Closed Saphirkitoko closed 1 month ago

Saphirkitoko commented 1 month ago

The user enter artist name as a keyword in the search request, and the Ticketmaster API returns relevant events, including their names, dates, and venues.

It a work in progress. But I still want your review if there anything that can be done differently.

rwalk651 commented 1 month ago

@Saphirkitoko This looks really good! I just had a couple notes while testing it.

  1. I don't know if the API is capable of this, but is there a way to search for a specific band? For example, when I search for the band Radiohead (who are not on tour), the response returns tour dates for a cover band called "Just Radiohead". I didn't dig too deep into the API documentation, so this might just be a limitation we have to deal with.

  2. When I delete the API key, I get HTTP error occurred: 401 Client Error: Unauthorized for url: "error url". Clicking the URL shows that it's an invalid API key, but the error message could be clearer and return the message from the URL directly. Clearer error messages will also be helpful when testing all of the API's together with the Flask app.

  3. I think we can limit the search to US tour dates only and include the City/State location of the venue in the output. That might make things easier, but let me know what ya'll think.

HyungnaLim commented 1 month ago

reviewed and merged! @Saphirkitoko still need to figure out to get multiple events from the artist instead only one.