1.0.0 • Published 6 years ago

@dillonchr/dailytext v1.0.0

Weekly downloads
2
License
GPL-2.0
Repository
-
Last release
6 years ago

Daily Text

A way to programmatically grab today's text for JSON consumption.

Install

npm i @dillonchr/dailytext

Then you'll also need to provide your daily text source url. I hesitate to hand that out. You'll want your own language etc. So once your find your URL prefix set it as an environment variable aptly named DAILYTEXT_API_URL_PREFIX.

Usage

It will ask for today's text, attempt to parse it and ship it back to you in this format:

{
    "date": "Wednesday, June 20",
    "themeScripture": "<excerpt>",
    "themeScriptureLocation": "<book abbr> <chapter>:<verse>",
    "comments": "<wt comments paragraph>"
}