APIs and Links
Online Devotions API
Why Online Devotions?
At New Hope, daily devotions have become a part of our church culture. In an effort to help churches equip their members for constant spiritual growth, our online devotions API allows you to design a custom page that will display the devotions for that particular day. At www.enewhope.org, online devotions is consistently one of the top 5 most requested pages.
Simple API Configuration Center
API Overview
The online devotions API is simple to implement. The API consists of a root URL and variables that will allow you to customize your church name, web address, and also page colors.
Root URL
To create a link to the online devotions, please use this code and then build upon it.
<a href=http://developer.enewhope.org/api/bible.php>Online Devotions</a>
Customizing the Online Devotions Page
Church NameTo include your church name on the online devotions page, add churchname=Your Church Name.
Church Address
To include your church web URL, add churchweb=http://www.enewhope.org
Church Name Color
Formatting the color of the “Online Devotions” text is as simple as including the color as a hexadecimal using the format h1color=000000. Please be sure to use hex code for colors leaving off the # symbol.
Church Web Address Color
Formatting the color of the web url text is as simple as including the color as a hexadecimal using the format h2color=000000. Please be sure to use hex code for colors leaving off the # symbol.
Navigation Bar Color
Formatting the color of the navigation bar is as simple as including the color as a hexadecimal using the format navigationcolor=000000. Please be sure to use hex code for colors leaving off the # symbol.
Final URL Format
http://developer.enewhope.org/api/bible.php?churchname=New%20Hope&churchweb=www.enewhope.org &h1color=003399&h2color=003399&navigationcolor=003399