AnalogStudiosRI / www.tuesdaystunes.tv

Frontend for the Tuesday's Tunes website.
http://tuesdaystunes.tv
3 stars 5 forks source link

filter events to only include TT related events #60

Closed thescientist13 closed 2 years ago

thescientist13 commented 2 years ago

Currently we are just fetching all events from the API but we should do some basic sorting first. Tag based filtering was added to the API in https://github.com/AnalogStudiosRI/api/issues/13 so ideally we should just be able to curate the list ahead of time, e.g.

const events = (await fetch('https://www.analogstudios.net/api/v2/events?tag=tt')
  .then(resp => resp.json()))
  ...

Though it seems that node-fetch may not support this??? Worst case, can manually filter on the application side at least.