Latest stable branch includes sermon analysis endpoint, but not required for new installations
This commit is contained in:
+69
-23
@@ -3,23 +3,83 @@
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
html{
|
||||
font-family: sans-serif;
|
||||
font-size: 14pt;
|
||||
width: 768px;
|
||||
/* Dark Theme */
|
||||
body {
|
||||
background-color: #222;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Style the header */
|
||||
html {
|
||||
font-family: sans-serif;
|
||||
font-size: 14.5pt;
|
||||
width: 768px;
|
||||
padding: 1px;
|
||||
margin-top: 15px;
|
||||
color: #fff; /* Text color */
|
||||
}
|
||||
|
||||
a {
|
||||
color: #547720
|
||||
color: #007bff; /* Link color */
|
||||
}
|
||||
|
||||
.header {
|
||||
font-family: sans-serif;
|
||||
padding: 10px 16px;
|
||||
background: #333; /* Dark background */
|
||||
color: #fff; /* Text color */
|
||||
position: fixed;
|
||||
top: 5px;
|
||||
width: 768px;
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
width: 75%;
|
||||
padding: 12px 20px;
|
||||
margin: 8px 0;
|
||||
box-sizing: border-box;
|
||||
text-align: left;
|
||||
font-size: 14.5pt;
|
||||
background-color: #333; /* Dark background */
|
||||
color: #fff; /* Text color */
|
||||
border: 1px solid #555; /* Border color */
|
||||
}
|
||||
|
||||
input[type=button], input[type=submit], input[type=reset] {
|
||||
font-family: sans-serif;
|
||||
background-color: #555; /* Dark button background */
|
||||
border: none;
|
||||
color: #fff; /* Button text color */
|
||||
padding: 16px 32px;
|
||||
text-decoration: none;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
code {
|
||||
background-color: #222;
|
||||
color: #fff;
|
||||
padding: 4px 8px;
|
||||
border-radius: 4px;
|
||||
font-family: monospace;
|
||||
}
|
||||
|
||||
.definition {
|
||||
padding: 8px;
|
||||
font-family: sans-serif;
|
||||
font-size: 14.5pt;
|
||||
width: 768px;
|
||||
padding: 1px;
|
||||
color: #fff; /* Text color */
|
||||
background-color: #222; /* Dark background */
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<h1>KJV API</h1>
|
||||
<p>KJV accessible via web calls</p>
|
||||
<h1>KJV API (Legacy edition)</h1>
|
||||
|
||||
<h2>Quick Search</h2>
|
||||
<form action="/find">
|
||||
<label for='kw'>Query</label><br>
|
||||
<label for='kw'>Keyword Search</label><br>
|
||||
<input type="text" name="kw"><br><br>
|
||||
<input type="hidden" name="view" value="rich"">
|
||||
<input type="submit">
|
||||
@@ -76,9 +136,6 @@ num=
|
||||
- Used only with /seq
|
||||
- You can get the "next # verses" in your sequence
|
||||
|
||||
|
||||
|
||||
|
||||
FEATURES
|
||||
========
|
||||
- King James Only. (No heretical commentaries or false Bibles)
|
||||
@@ -101,17 +158,6 @@ EXAMPLES
|
||||
api.tld/random
|
||||
api.tld/votd?view=rich
|
||||
api.tld/show?kw=john3:16,1john5:7&view=plain
|
||||
api.tld/search?kw=faith
|
||||
api.tld/search?kw=nimrod&view=rich
|
||||
api.tld/define?kw=faith&view=rich
|
||||
api.tld/define?kw=faith&view=rich
|
||||
api.tld/seq?getuid=true&start=2peter2:1
|
||||
api.tld/seq?uid=075a8496-9af7-4f44-84ec-ba3e7fa6de29&view=rich
|
||||
|
||||
INTEGRATION
|
||||
===========
|
||||
If you want to put the verse of the day into your website, you can use the following example php:
|
||||
echo curl_exec(curl_init('https://api.1611.social/votd?view=plain'));
|
||||
|
||||
BUGS
|
||||
====
|
||||
|
||||
Reference in New Issue
Block a user