Resonite-Community-Projects / community_events.resonite

Service for announcing Resonite events and stream from multiple source like Discord and Google Agenda to client like Resonite Facet or Web Browsers.
https://resonite-communities.com/
GNU General Public License v3.0
4 stars 1 forks source link

Add JSON collector #15

Closed bredo228 closed 8 months ago

bredo228 commented 8 months ago

This pull request adds a collector for events listed in a JSON response on a webserver. This has mainly been done in order to add Mentor Workshop sessions to the events facet as that has been requested by Mentors in the Mentor Discord, and work was already in progress to create a facet for Mentor Workshop events.

Example configuration is included in EventsCollectors/JSONEventsCollector.py

This PR has the side effect of letting the app launch without Twitch being configured & fixes a dead link to a stylesheet.

For testing this, the Mentor Workshop sessions list can be found at https://workshops.voxelbone.cloud/events_json - this is currently mostly test data but will be the actual mentor workshop data soon as some stuff is worked out on our end.

brodokk commented 8 months ago

Hey! Thank you very much for your work! I will merge it as it is for now even if i see maybe some stuff that could be added. Mainly around the documentation and some other stuff maybe. I'm working on a rewrite anyway so will see when it will be done.

I will put that in production as soon as i fix some other bugs!