Closed wbashir closed 11 years ago
I can surely add these methods. Can you let me know what kind of APIs you would want (signature, return etc)
I did not realize that this npm package could not be used on the client or the wrapper methods cannot be called from the client. I am looking to find a way to expose the methods you have created to the client without exposing the DB (RestFul API ) ?
I have built a rest API around this package and used websql to make this work on clients. Its highly experimental, but I would share the link/API in a while.
On Mon, Jun 3, 2013 at 7:12 PM, warsamebashir notifications@github.comwrote:
I did not realize that this npm package could not be used on the client or the wrapper methods cannot be called from the client. I am looking to find a way to expose the methods you have created to the client without exposing the DB (RestFul API ) ?
— Reply to this email directly or view it on GitHubhttps://github.com/qzaidi/quran/issues/1#issuecomment-18841757 .
You may try the websql version at http://duas.mobi/offline
Do you have any documentation on how to call this through a rest interface or is just a UI
I have added a REST API. This is different from the websql version I previously mentioned. Please see the docs here. Let me know if this helps your use case.
http://qzaidi.github.io/quran/javascript/
Currently, the only interface is to fetch a specific verse and display it in an element on page.
Thanks again, are there any restrictions on what browsers webSQL supports ?
There is now a rest API as well, pls see here
http://qzaidi.github.io/quran/javascript/
websql is only supported in chrome and safari, no firefox or IE for it, but then you can use the rest API and not worry about websql.
On Sun, Jan 5, 2014 at 1:45 AM, warsamebashir notifications@github.comwrote:
Thanks again, are there any restrictions on what browsers webSQL supports ?
— Reply to this email directly or view it on GitHubhttps://github.com/qzaidi/quran/issues/1#issuecomment-31587462 .
Asalamu Alaykum
I am building an application that may utilize this npm module, are you planning on adding any direct meta data methods. Things like getJuzBySurah(), getJuzByVerse(). If you want to connect or need help building it please let me know