Ruby script for saving library book due dates in iCal format

Modified on 2012/03/07 01:57 by Ben Fulton — Categorized as: Uncategorized

This is a short Ruby script I created for the Monroe County Public Library website. To use it, run the script, passing your library card number and site password as parameters.

The script outputs the relevant iCal file text, suitable for importing to Outlook or Google Calendar or whatever. Pipe it to a file like this:

ruby book2calendar.rb 21400003414203 1234 >temp.ics

The script is Here.