fetch_meditation.spad module
SPAD (Spiritual Principle A Day) meditation fetcher module.
This module provides functionality to fetch SPAD meditations in different languages.
- class fetch_meditation.spad.Spad(settings: Any)[source]
Bases:
object
Main SPAD meditation fetcher class.
This class serves as a factory for creating language-specific SPAD meditation fetchers based on the provided settings.
- Attributes:
settings: Configuration settings for the SPAD fetcher
- static get_instance(settings: Any) EnglishSpad [source]
Factory method to create a language-specific SPAD fetcher.
- Args:
settings: Configuration settings for the SPAD fetcher
- Returns:
A language-specific SPAD fetcher instance
- property language: SpadLanguage
Get the language setting for this SPAD fetcher.
- Returns:
SpadLanguage: The language enum value
- settings: Any