KhalisFoundation / banidb-api

The most accurate Gurbani database ever. Contributions welcome :)
MIT License
30 stars 13 forks source link

Release 2.10.1 #272

Closed Gauravjeetsingh closed 1 year ago

Gauravjeetsingh commented 1 year ago

Changelog: Add search-result endpoint, to be used in semantic search (Gurbani bot) for sttm-web

In order to implement the semantic search API, we needed an endpoint that returns all the banidb details of specific verses.

This PR adds endpoint /search-results which take comma separated verse ids as parameter, VerseID and returns all the information required to show those verses as search results.

Data at endpoint /v2/search-results/212,1231 Screenshot from 2023-06-05 22-39-44

Sidenote: Also, pulled the commits from master branch here, so that dev is upto date with master branch commits.