Similarly to the Liturgical Calendar Project and to the BibleGet Project, this project is designed as an API. The API calculates data from a data file and produces a response in a data exchange format such as JSON.
Then any kind of data visualization frontend interface can be created to interact with the API and display the data. An example of this can be found at opera-romana-pellegrinaggi/litcal-anniversari-frontend.
The API takes the following parameters:
YEAR
: the year for which anniversaries will be calculated. For example, if Saint Ignatius was canonized in 1622, and the value2022
is supplied to theYEAR
parameter, then aCENTENARY
anniversary of 400 years will be returned.LOCALE
: the language in which strings should be translated / localized.