In [35]:
import pandas as pd
from pandas import DataFrame,Series
import requests
import re

In [58]:
passageCollection = 'Genesis1'

In [61]:
r = requests.get('http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=fullyFormatted&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]')

In [129]:
Genesis1List = []
for genesis in range(1,32):
    Genesis1ListDict = {}
    passageCollection = 'Genesis1:'+str(genesis)
    Genesis1ListDict['passageCollection']=passageCollection
    link = 'http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=bibleTextOnly&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]'
    Genesis1ListDict['link']=link
    result = requests.get(link)
    Genesis1ListDict['realpassage']=result.content
    Genesis1List.append(Genesis1ListDict)
Genesis1DataFrame = pd.DataFrame(Genesis1List)

In [176]:
Genesis1DataFrame


Out[176]:
link passageCollection realpassage
0 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:1 In the beginning God created the heaven and th...
1 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:2 And the earth was without form, and void; and ...
2 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:3 And God said, Let there be light: and there wa...
3 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:4 And God saw the light, that it was good: and G...
4 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:5 And God called the light Day, and the darkness...
5 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:6 And God said, Let there be a firmament in the ...
6 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:7 And God made the firmament, and divided the wa...
7 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:8 And God called the firmament Heaven. And the e...
8 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:9 And God said, Let the waters under the heaven ...
9 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:10 And God called the dry land Earth; and the gat...
10 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:11 And God said, Let the earth bring forth grass,...
11 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:12 And the earth brought forth grass, and herb yi...
12 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:13 And the evening and the morning were the third...
13 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:14 And God said, Let there be lights in the firma...
14 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:15 And let them be for lights in the firmament of...
15 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:16 And God made two great lights; the greater lig...
16 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:17 And God set them in the firmament of the heave...
17 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:18 And to rule over the day and over the night, a...
18 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:19 And the evening and the morning were the fourt...
19 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:20 And God said, Let the waters bring forth abund...
20 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:21 And God created great whales, and every living...
21 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:22 And God blessed them, saying, Be fruitful, and...
22 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:23 And the evening and the morning were the fifth...
23 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:24 And God said, Let the earth bring forth the li...
24 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:25 And God made the beast of the earth after his ...
25 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:26 And God said, Let us make man in our image, af...
26 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:27 So God created man in his own image, in the im...
27 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:28 And God blessed them, and God said unto them, ...
28 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:29 And God said, Behold, I have given you every h...
29 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:30 And to every beast of the earth, and to every ...
30 http://api.biblia.com/v1/bible/content/kjv.tex... Genesis1:31 And God saw every thing that he had made, and,...

In [131]:
Genesis2List = []
for genesis in range(1,26):
    Genesis2ListDict = {}
    passageCollection = 'Genesis2:'+str(genesis)
    Genesis2ListDict['passageCollection']=passageCollection
    link = 'http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=bibleTextOnly&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]'
    Genesis2ListDict['link']=link
    result = requests.get(link)
    Genesis2ListDict['realpassage']=result.content
    Genesis2List.append(Genesis2ListDict)
Genesis2DataFrame = pd.DataFrame(Genesis2List)

In [135]:
#Genesis2DataFrame

In [134]:
#Genesis1DataFrame

In [137]:
Genesis3List = []
for genesis in range(1,25):
    Genesis3ListDict = {}
    passageCollection = 'Genesis3:'+str(genesis)
    Genesis3ListDict['passageCollection']=passageCollection
    link = 'http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=bibleTextOnly&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]'
    Genesis2ListDict['link']=link
    result = requests.get(link)
    Genesis3ListDict['realpassage']=result.content
    Genesis3List.append(Genesis3ListDict)
Genesis3DataFrame = pd.DataFrame(Genesis3List)

In [139]:
Genesis4List = []
for genesis in range(1,27):
    Genesis4ListDict = {}
    passageCollection = 'Genesis4:'+str(genesis)
    Genesis4ListDict['passageCollection']=passageCollection
    link = 'http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=bibleTextOnly&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]'
    Genesis4ListDict['link']=link
    result = requests.get(link)
    Genesis4ListDict['realpassage']=result.content
    Genesis4List.append(Genesis4ListDict)
Genesis4DataFrame = pd.DataFrame(Genesis4List)

In [ ]:
Genesis4List = []
for genesis in range(1,27):
    Genesis4ListDict = {}
    passageCollection = 'Genesis4:'+str(genesis)
    Genesis4ListDict['passageCollection']=passageCollection
    link = 'http://api.biblia.com/v1/bible/content/kjv.text?passage='+passageCollection+'&style=bibleTextOnly&key=78107f435755fdf76ac5f8d991664d79&header=[FullVerseRef]'
    Genesis4ListDict['link']=link
    result = requests.get(link)
    Genesis4ListDict['realpassage']=result.content
    Genesis4List.append(Genesis4ListDict)
Genesis4DataFrame = pd.DataFrame(Genesis4List)