The search method returns a results field which is just an array. If you are only interested in seeing the top 5 results, you can just grab the first five items from the array. Most languages have an easy way of doing this, in Ruby it's as simple as:
رد بواسطة Travis Bell
بتاريخ أكتوبر 3, 2016 في 5:20 مساءا
Hi Ahmed,
The search method returns a
results
field which is just an array. If you are only interested in seeing the top 5 results, you can just grab the first five items from the array. Most languages have an easy way of doing this, in Ruby it's as simple as:Hope that helps.