Realtor

फ्रीमियम
द्वारा Sabri | अपडेट किया गया 2 महीने पहले | Data
लोकप्रियता

9.6 / 10

लेटेंसी

607ms

सेवा का स्तर

100%

Health Check

100%

सभी चर्चाओं पर वापस जाएं

How to increase search agents endpoint response records above 20?

Rapid account: Tindatt
tindatt
2 वर्ष पहले

How to increase search agents endpoint response records above 20? or how to use pagination?

Rapid account: Thedimefamily
thedimefamily Commented एक वर्ष पहले

pass in a page of 1 in params and if the length or count of agents is 20, then run the same query with page+1. You are only wasting an API call if the total count is 20, because running the query over page 2 would produce no results. This is kinda how I am handling it for the home_search, but that returns a count so I can compare the returned value instead of having to iterate over the result set.

चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:

नई टिप्पणियाँ पोस्ट करने के लिए लॉग इन / साइनअप करें