Liturgia De Las Horas.github.io Json May 2026
// Usage const today = new Date(); const morningPrayer = await getLiturgia(today, 'laudes'); Not every day has every hour. For example, the Oficio de Lectura (Office of Readings) might be identical to the previous day’s readings in some repositories. Always check for 404 errors or null responses. If an hour is missing, fall back to the standard "Common of the Season" or hide that hour from the user. Step 3: Rendering in React Native (Mobile App) If you are building a Catholic prayer app, here is a minimal React component rendering the JSON:
useEffect(() => fetch( https://api.liturgia.github.io/$date/$hour.json ) .then(res => res.json()) .then(setOfficeData); , [date, hour]); liturgia de las horas.github.io json
"metadata": "date": "2024-12-25", "liturgical_day": "Natividad del Señor (Solemnidad)", "liturgical_color": "Blanco", "week_of_psalter": 1, "hour": "Laudes" , "introduction": "verse": "Señor, abre mis labios", "response": "Y mi boca proclamará tu alabanza" , "hymn": "title": "Cristo, lucero de la mañana", "verses": ["Texto del himno...", "..."] , "psalmody": [ "type": "Psalm", "number": 95, "antiphon": "Hoy ha nacido el Salvador...", "verses": ["Cantad al Señor un cántico nuevo...", "..."] , "type": "Canticle", "source": "Daniel 3", "antiphon": "...", "verses": ["..."] ], "scripture_reading": "reference": "Isaías 9:1-6", "text": "El pueblo que caminaba en tinieblas vio una luz grande..." , "responsory": "verse": "El Verbo se hizo carne, aleluya", "response": "Y habitó entre nosotros, aleluya" , "gospel_canticle": "name": "Benedictus", "antiphon": "Gloria a Dios en las alturas...", "text": ["Bendito sea el Señor, Dios de Israel...", "..."] , "intercessions": "title": "A Cristo, luz de las naciones", "petitions": ["Que tu nacimiento traiga paz al mundo...", "..."] , "closing_prayer": "text": "Oh Dios, que has iluminado este día santísimo..." // Usage const today = new Date(); const
# Test a Liturgia de las Horas JSON endpoint curl https://my-repo.github.io/liturgia/data/2024/12/25/laudes.json | jq '.metadata' Note: Replace my-repo with the actual GitHub username hosting the JSON data. Always verify the repository's license before use. If an hour is missing, fall back to
| Problem | Likely Cause | Solution | | :--- | :--- | :--- | | Empty Psalm array | Incomplete data entry | Fallback to default Psalter week | | Wrong antiphon | Improper liturgical rank calculation | Verify the JSON against official CEE calendar | | Missing Vísperas II | Repository only stores one Vespers | Check if Vespers I (Saturday) is stored under visperas1.json | | Encoding errors (ñ) | UTF-8 corruption | Ensure your fetch request sets charset=utf-8 | The liturgia de las horas.github.io json ecosystem represents a beautiful synergy of faith and code. Whether you are building a smartwatch app for the Liturgia de las Horas , a Discord bot that posts Laudes , or a static website for a monastery, understanding this JSON structure is your first step.
if (!officeData) return <Text>Cargando Liturgia...</Text>;
Most of these JSON files are generated by scraping publicly available sources (diocesan websites) or are manually transcribed for educational/non-commercial use. Others use the Psalterium Monasticum or older public domain translations.