โก๏ธ ๐ Fast and Powerful JSON API used by GurbaniNow Search and many other projects.
GurbaniNow API utilizes the CloudFlare CDN to bring Gurbani to developers all over the world at lightning fast speeds!
If you need help, have an issue, or would like to request an feature, please submit it here!
The API is located at https://api.gurbaninow.com.
GurbaniNow | AKJ.Org | /r/sikh Hukamnama Bot | Nitnem App |
---|
URL: https://api.gurbaninow.com/v2/search/:query
Example: https://api.gurbaninow.com/v2/search/DDrgj/?source=G&searchtype=1
Variable | Use |
---|---|
:query |
The Actual Query, whatever is typed into the Search Box. INFO: GurbaniAkhar Keyset and Unicode can be used for searching on searchtype : 0 and 1 . searchtype : 2 only supports GurbaniAkhar. URL Encoding is Recommended |
source |
Sets which Source you want Shabads from: Default is All Sources G - Guru Granth Sahib JiD - Sri Dasam GranthB - Bhai Gurdas Ji VaaranN - Bhai Nand Lal Ji GuzalsA - Amrit KeertanU - Uggardanti |
searchtype |
Search Type0 - First Letter Start (Gurmukhi/Unicode) (DEFAULT)1 - First Letter Anywhere (Gurmukhi/Unicode)2 - Full Word/Line (Gurmukhi)3 - Full Word/Line (English)4 - Search All Words (Gurmukhi)5 - Search All Words (English)6 - Search Any Words (Gurmukhi)7 - Search Any Words (English) |
writer |
Set Writer (Default is All Writers) - WriterID List |
raag |
Set Raag (Default is All Raags) - RaagID List |
ang |
Ang/PageNo Leave Empty if Not Used 1,2,3,4,.... - Specify Ang/PageNo |
results |
Set Count of Results (DEFAULT 20, MAX 100) In case skip is set, this will return results from the skip to skip+results results. |
skip |
Skip Records (DEFAULT 0) For example, if you want 20 to 30 results, set skip=20 and results=10 |
URL: https://api.gurbaninow.com/v2/shabad/:id
Example: https://api.gurbaninow.com/v2/shabad/3589
Variable | Use |
---|---|
:id |
ShabadID |
URL: https://api.gurbaninow.com/v2/line/:id
Example: https://api.gurbaninow.com/v2/line/1
Variable | Use |
---|---|
:id |
Line ID |
URL: https://api.gurbaninow.com/v2/ang/:page
URL2: https://api.gurbaninow.com/v2/ang/:page/:source
Examples: https://api.gurbaninow.com/v2/ang/917
, https://api.gurbaninow.com/v2/ang/1/D
Variable | Use |
---|---|
:ang |
Set Ang/Paana Number (REQUIRED) |
:source |
Sets which Source you want Shabads from: (OPTIONAL) G - Guru Granth Sahib Ji (DEFAULT)D - Sri Dasam GranthB - Bhai Gurdas Ji VaaranN - Bhai Nand Lal Ji GuzalsA - Amrit KeertanU - Uggardanti |
URL: https://api.gurbaninow.com/v2/hukamnama/today
Sometimes the Hukamnama Source does not have the Hukamnama for the Day at 9:00 PM, the API will re-update around 12:00 AM to make sure the Hukamnama for the Day has been updated.
URL: https://api.gurbaninow.com/v2/hukamnama/:year/:month/:day
Example: https://api.gurbaninow.com/v2/hukamnama/2017/1/1
URL: https://api.gurbaninow.com/v2/convert/:type/:text
Variable | Use |
---|---|
:type |
unicode - GurbaniAkhar to Unicodeakhar - Unicode to GurbaniAkhar |
:text |
Text to be Converted. URL Encoding is Recommended |
GurbaniNow API Copyright (C) 2015-2017 GurbaniNow Dev Team. All Rights Reserved.
Any Data recieved by any means from the GurbaniNow API is licensed under
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International.
You should have received a copy of the license along with this
work. If not, see <https://creativecommons.org/licenses/by-nc-nd/4.0/>.
THE GURBANINOW API IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE GURBANINOW API OR THE USE OR OTHER DEALINGS IN
THE GURBANINOW API.
April 14, 2017
Subject To Change