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

Add a new command to search in api and get only a list of aya ids and keywords. #458

assem-ch opened this issue Jan 13, 2016 · 2 comments


Copy link

@assem-ch assem-ch commented Jan 13, 2016

This will help software looking only for search not all info. Generally the best ID is the tuple: Sura id and Aya id.

A list of keywords may be also mandatory in order to achieve highlight.

suggested keyword : search_min
could be supported with another commands get_aya and get_aya_text.

Copy link

@sneetsher sneetsher commented May 9, 2017

  • search_min can create ambiguity, user need to look for doc
  • get_aya and get_aya_text I like the idea, it may not handle future enhancement with translations ... we can't create a command for each .

May be hard but generic, user can request a custom output format/filter. Like many gnu tool do (ex: date)

Copy link
Contributor Author

@assem-ch assem-ch commented May 26, 2018

there are already custom filters and views but its not obvious for some one who is coming for alfanous to use it. I am thinking of building a swagger documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants