create_homegame_calendar.rb
takes the game schedule (calendar) of ALBA Berlin and turns it into a calendar that only contains the home games.
With a group of friends we share season ticket for Alba Berlin, i.e. we split the home games between us. Hence we need a calendar with just the home games, so that we can mark in the calendar events who is going to which game.
Every year I am creating this calendar manually. This year I got annoyed with this, so I decided to automate this :) Scratching my own itch!
-
Download game schedule (calendar) from calovo.de. e.g.
a29dcd34.f637522e-c1d948eb.ics
-
Run the script:
ruby create_homegame_calendar.rb a29dcd34.f637522e-c1d948eb.ics > alba-homegame-calendar.ics
- Import
alba-homegame-calendar.ics
into your favorite calendar app of choice.
Enjoy the ALBA home games. See you there :)