Be a Disciple, and Make Disciples - Prayer Tents

How to Use PT Bible API Feature to look up Scriptures on Your Website

What is PT BIble API

If you maintain a blog or a website and have Scriptures in them, PT Bible API can help you and your customers/viewers to look up passages quickly in the version of their choosing. On the verse below, place your mouse over it, or click on it on your mobile phone:



You will recognize that the verse popped up on the version that you use at Prayer Tents. Try setting multiple versions, it will show multiple versions as well.








How do I set it up?

Implementing it is easy. First, you need to obtain your PT Bible API key. Every registered user is given a specific key. Obtain yours by logging in and clicking on 'update your profile' on the menu on the right. Now that you have the key, you just need to copy the short code below into your website and put in your api key. You can ideally put it right before closing the body tag, or place it on a footer file.



Now, reference Scriptures in your text like this:

<a href="javascript:ptbref('Romans 15:4')" onMouseOver="ptbref('Romans 15:4')">Romans 15:4</a>

Which shows, Romans 15:4

or Prayer Tents shorthand, like this (abbreviate name of book, remove spaces, use dot(.) as the verse separator):

<a href="javascript:ptbref('Eph3.20')" onMouseOver="ptbref('Eph3.20')">Ephesians 3:20</a>

Which shows, Ephesians 3:20



or multiple verses by separating them with comma (,) and hyphen (-) like this:

<a href="javascript:ptbref('Eph3.14-21')" onMouseOver="ptbref('Eph3.14-21')">Ephesians 3:14-21</a>
<a href="javascript:ptbref('Eph3.14,19,20')" onMouseOver="ptbref('Eph3.14,19,20')">Ephesians 3:14,19,20</a>

Which shows, Ephesians 3:14-21 and Ephesians 3:14,19,20

In the syntax above, you can choose to remove the onMouseOver if you want to require users to click on the link. Mouseovers are used by desktop users of your website since mobile users will have to click anyway.

Setting up the version(s) of the Scriptures

The version displayed will be either the Prayer Tents default New Living Translation version, or whatever the user has been using at Prayer Tents on their device.

If you wish to specify specific version(s), you can do so by entering numeric value of the version(s) you wish to use. The list of version numbers are provided below. You can enter up to three following your Scripture reference.

<a href="javascript:ptbref('Eph3.20', 10, 18, 37)" onMouseOver="ptbref('Eph3.20', 10, 18, 37)">Ephesians 3:20</a>

Which shows, Ephesians 3:20 in NLT, 쉬운 성경, and in Simplified Chinese.

Simplifying your code work

Don't want to spend time typing up href tags for each verse you reference? Prayer Tents has developed a tool just for you: Bible Verse Replacer Tool. Simply by copy-pasting your text for your website or blog, it will automatically convert Scriptures to the format described above.

Need more help?

If you need help getting this setup, please contact the Prayer Tents support ninjas. They will get you taken care of.



List of Bible versions used in Prayer Tents (as of 12/31/2020)

		1: English Standard Version
		2: Good News Translation
		3: Holman Christian Standard Bible
		4: International Standard Version
		5: King James Version
		6: The Message
		7: New American Standard Bible
		8: New International Version
		9: New King James Version
		10: New Living Translation
		11: New Revised Standard Version
		12: Today's New International Version
		13: 개역 한글판 (국한문)
		14: 바른 성경 (국한문)
		15: 개역 개정판 (국한문)
		16: 가톨릭 성경
		17: 우리말 성경
		18: 쉬운 성경
		19: 개역 국한문
		20: 킹제임스 흠정역
		21: 개역 한글판
		22: 공동번역 개정판(1977)
		23: 한글 킹제임스
		24: 현대인의 성경
		25: 바른성경
		26: 공동번역 개정판 (1999)
		27: 개역개정판
		28: 새번역
		29: 현대어성경
		30: Septuagint (Koine Greek - OT only)
		31: Original Languages (OT Hebrew, NT Greek)
		32: Vulgate (Latin)
		33: Chinese Union Bible (Traditional)
		34: Reina-Valera (Spanish)
		35: Japanese Living Bible
		36: Hindi Bible
		37: Chinese Union Bible (Simplified)
		38: Chinese Contemporary Bible
		39: Arabic Bible (Smith and Van Dyke Translation)
		40: Amplified Bible
		41: New International Version (1984)
		42: Joao Ferreira de Almeida (Portuguese)
		43: Nueva Traduccion Viviente
	
Info Language Arrow
Prayer Tents is a Christian mission organization that serves Christians around the world and their local bodies to make disciples ("evangelize") more effectively in their communities. Prayer Tents provides resources to enable Christians to form discipleship-focused small groups and make their gatherings known so that other "interested" people may participate and experience Christ in their midst. Our Vision is to make disciples in all nations through the local churches so that anyone seeking God can come to know Him through relationships with other Christians near them.

© Prayer Tents 2024.
Prayer Tents Facebook icon Prayer Tents Twitter icon Prayer Tents Youtube icon Prayer Tents Linkedin icon