Skip to content

Instantly share code, notes, and snippets.

@R4wm
Created September 4, 2020 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save R4wm/aef7a214e38d0ad0dd53f388668f96f6 to your computer and use it in GitHub Desktop.
Save R4wm/aef7a214e38d0ad0dd53f388668f96f6 to your computer and use it in GitHub Desktop.
getting verse range from json output of bible_api
curl -s https://bible.mintz5.com/bible/daily/nt | jq '.. | objects | select((.Verse >= 06) and (.Verse <= 11))'
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 6,
"Text": "Sufficient to such a man [is] this punishment, which [was inflicted] of many."
}
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 7,
"Text": "So that contrariwise ye [ought] rather to forgive [him], and comfort [him], lest perhaps such a one should be swallowed up with overmuch sorrow."
}
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 8,
"Text": "Wherefore I beseech you that ye would confirm [your] love toward him."
}
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 9,
"Text": "For to this end also did I write, that I might know the proof of you, whether ye be obedient in all things."
}
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 10,
"Text": "To whom ye forgive any thing, I [forgive] also: for if I forgave any thing, to whom I forgave [it], for your sakes [forgave I it] in the person of Christ;"
}
{
"Book": "2CORINTHIANS",
"Chapter": 2,
"Verse": 11,
"Text": "Lest Satan should get an advantage of us: for we are not ignorant of his devices."
}
{
"Book": "2CORINTHIANS",
"Chapter": 3,
"Verse": 6,
"Text": "Who also hath made us able ministers of the new testament; not of the letter, but of the spirit: for the letter killeth, but the spirit giveth life."
}
{
"Book": "2CORINTHIANS",
"Chapter": 3,
"Verse": 7,
"Text": "But if the ministration of death, written [and] engraven in stones, was glorious, so that the children of Israel could not stedfastly behold the face of Moses for the glory of his countenance; which [glory] was to be done away:"
}
{
"Book": "2CORINTHIANS",
"Chapter": 3,
"Verse": 8,
"Text": "How shall not the ministration of the spirit be rather glorious?"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment