-
Notifications
You must be signed in to change notification settings - Fork 14
API Documentation
This is Documentation for the current production API, located at api.gurbaninow.com/v2.
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 |
Copyright © 2015-2020 GurbaniNow Dev Team
Need help? Contact us on Slack at: chat.shabados.com