GeoDB Cities

부분 유료
Verified
분류별 Michael Mogley | 업데이트됨 19日前 | Data
인기

9.9 / 10

지연 시간

55ms

서비스 수준

100%

Health Check

100%

모든 토론으로 돌아가기

How can I send a request without any limit of results?

Hello,

I need to send a request so that I can have all of the data necessary to afterwards search in the results given.

Thank you in advance

Rapid account: Wirefreethought
wirefreethought Commented 5年前

Looking at my reply again, I realize I may not have answered your question. There is no way to retrieve all results without any limit in a single request using the online instance. This is done deliberately, both as a way to incentivize usage of higher-tier plans and also to mitigate potential DoS attacks. If you’re still intent on getting unlimited results in one request, you can do so by hosting the service yourself. Contact us through the dev portal site to find out what would be involved to set this up.

Rapid account: Wirefreethought
wirefreethought Commented 5年前

If you are referring to the number of results returned per request, that is controlled by the ‘limit’ param. This param has a maximum value, depending on the plan you’ve subscribed to. To retrieve all results - after setting ‘limit’ to the maximum allowed value - you will have to issue multiple requests, incrementing the ‘offset’ param as needed to get successive pages. (Optionally, you may just use the HATEOAS links in the response.) Please see this link for more details: http://geodb-cities-api.wirefreethought.com/docs/guides/getting-started/pagination

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입