the calendar on-line,
Learn how to obtain data from it's JSON API
or fork it at github and hack it.
The API provides access to Roman Catholic liturgical calendar according to the norms set forth by the liturgical reform after the II Vatican Council. Several Sanctorale calendars are available and others can be added easily.