lanej / zendesk2

Zendesk API V2 client using Cistern
http://lanej.io/zendesk2/
MIT License
25 stars 28 forks source link

How do I go about call the search help center articles? #72

Open aaronpurt opened 2 years ago

aaronpurt commented 2 years ago

Hi,

Im trying to figure out how to interact with the 'zendesk2/lib/zendesk2/help_center/search_help_center_articles.rb'. But, can't seem to figure out how to search help center articles with the query and parameters.

Doe anyone have some insights / documentation or some code snippets I could use to be able to interact with the Help Center resources in this repo?

lanej commented 2 years ago

Try something like:

Zendesk2.new(url: 'http://zendesk.example.org').help_center_articles.search('term:value').to_a
sanket-prabhu-HS commented 2 years ago

@lanej I tried this and it's not working for me. I have sent a query and its value as a parameter for search and I am getting this. It would be great if you can provide info with more insights.

image