Developer Corner¶
The current watchword is read in from a news feed by an internal API.
API¶
How to use the API…
use JambageCom\Watchwords\Api\BibleWebApi;
$watchword = [];
$bibleApi = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(
BibleWebApi::class
);
$bibleApi->getWatchwordsFromBiblegateway($watchword, $this->settings);
$this->view->assign('watchword', $watchword);