https://github.com/joshpetit/votd-retriever
Retrieve the verse of the day from
https://github.com/joshpetit/votd-retriever
bible verse votd-retriever
Last synced: 2 months ago
JSON representation
Retrieve the verse of the day from
- Host: GitHub
- URL: https://github.com/joshpetit/votd-retriever
- Owner: joshpetit
- Created: 2020-07-12T22:11:35.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-17T15:36:50.000Z (almost 5 years ago)
- Last Synced: 2024-04-26T10:44:26.942Z (about 1 year ago)
- Topics: bible, verse, votd-retriever
- Language: TypeScript
- Homepage:
- Size: 294 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# votd-retriever
Verse of the day retriever retrieves verses from different sites in the
most direct fashion.
### Supported sites
- YouVersion (bible.com)
- Bible.org
- BibleGateway.com
- Ourmanna.comIf you want to add a site to retrieve a verse from please send a pull request,
this is mainly for aggregation.### Usage
Installation:
```
npm install votd-retriever
...
let {Votd} = require('./index.js')
```
Use:
```
let votd = new Votd({
YouVersion: "APIKEY" //YouVersion is the only site requiring an API Key
});votd.getYouVersion()
.then(res => console.log(res))```
Response Format:
```
interface VOTD {
/**
* The name of the site/company choosing specific VOTD.
*/
source: string,
/**
* The web homepage of the site creating the VOTD.
*/
mainPage: string,
/**
* MM/DD/YYYY
*/
date: string,
verseRef: string
imageURL?: string
}
```
## Eventual Goals:
- Add daily devotionals
- Add more sites (more immediate)
- Begin Parsing HTML for sites that do not have an RSS feed or REST API