An open API service indexing awesome lists of open source software.

https://github.com/joshpetit/sda-hymnal

An NPM Package for the Seventh-day Adventist Hymnal
https://github.com/joshpetit/sda-hymnal

christian hymnal religious sda seventh-day-adventist

Last synced: 14 days ago
JSON representation

An NPM Package for the Seventh-day Adventist Hymnal

Awesome Lists containing this project

README

        

# sda-hymnal
This is the entire (695 hymn) Sda Hymnal; free to use in any capacity.

# Installation
```sh
npm install sda-hymnal
```
# Use
```js
const sdaHymnal = require('sda-hymnal')

sdaHymnal({
number: VERSE_NUMBER, //Either Number or Title, only one required.
title: VERSE_TITLE,
type: 'json' || 'text' || 'html' //Defaults to JSON
}).then( x =>{
//...
})
```
# Formats
### Json Format
```js

{
hymnNumber: NUMBER,
hymnTitle: 'Title',

verses: [
{
verseName: 'Verse 1',
text: 'Verse_Text'
},
{
verseName: 'Refrain',
text: 'Refrain_Text'
},
//....
]

}
```
### Text Format
```
HYMN_NUMBER
HYMN_TITLE

Verse 1
Verse_Text

Refrain
Refrain_Text
```

### HTML Format
```html

Hymn_Number


Hymn_Title

Verse 1

Verse_Text

Refrain

Refrain_Text


```
# Credits
SQLITE Data modified from [obaralll's hymnal app](https://github.com/obaraIII/SDAHymnal)