aalcala07 / home_dashboard

Home dashboard built with Pygame
MIT License
0 stars 1 forks source link

Generic timed callback #8

Closed snoyes closed 2 years ago

snoyes commented 2 years ago
  1. Reduces pollution of sys.path
  2. Adds an "Is it Friday" service which checks https://www.is-it-friday.org/ to find out if today is Friday (intended as a test of background updating services for a site which does not require an API key or limit requests)
  3. Removes the hardcoded weather service from main.py
  4. Uses the new services.json file to find services, fetch their update() method, and schedule calling that method.
  5. Use of the built in logger rather than direct printing allows for separation of info, debug, warning, and error.

Solves issue #6