shabados / database

A digital representation of Sikh Bani and other Panthic texts with a public logbook of sangat-sourced corrections.
https://docs.shabados.com/database
GNU General Public License v3.0
63 stars 24 forks source link

Add Random Shabad to JS API #1011

Open sarabveer opened 4 years ago

sarabveer commented 4 years ago

Add function to return a random Shabad ID.

In this case, the random shabad is also called a E-Hukamnama by some websites, so it is SGGS shabads only. Hukamnama can only be taken with the physical saroop of Guru Sahib present, so "E-Hukamnama" usage is avoided.

sarabveer commented 4 years ago

Has been implemented here:

https://github.com/GurbaniNow/api/blob/dev/src/v2/routes/randomShabad.js