Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thank you for this effort #1

Closed
wbashir opened this issue May 22, 2013 · 8 comments
Closed

Thank you for this effort #1

wbashir opened this issue May 22, 2013 · 8 comments

Comments

@wbashir
Copy link

wbashir commented May 22, 2013

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

@wbashir wbashir closed this as completed May 24, 2013
@qzaidi
Copy link
Owner

qzaidi commented Jun 3, 2013

I can surely add these methods. Can you let me know what kind of APIs you would want (signature, return etc)

@wbashir
Copy link
Author

wbashir commented Jun 3, 2013

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 ) ?

@qzaidi
Copy link
Owner

qzaidi commented Jun 3, 2013

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//issues/1#issuecomment-18841757
.

@qzaidi
Copy link
Owner

qzaidi commented Jun 19, 2013

You may try the websql version at http://duas.mobi/offline

@wbashir
Copy link
Author

wbashir commented Jun 19, 2013

Do you have any documentation on how to call this through a rest interface or is just a UI

@qzaidi
Copy link
Owner

qzaidi commented Oct 3, 2013

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.

@wbashir
Copy link
Author

wbashir commented Jan 4, 2014

Thanks again, are there any restrictions on what browsers webSQL supports ?

@qzaidi
Copy link
Owner

qzaidi commented Jan 5, 2014

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//issues/1#issuecomment-31587462
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants