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.

加入讨论 - 在下面添加评论:

登录/注册以发布新的评论