Wyre Data

부분 유료
분류별 vern funnell | 업데이트됨 14 days ago | Location
인기

9 / 10

지연 시간

1,749ms

서비스 수준

100%

Health Check

N/A

모든 토론으로 돌아가기

Loads a lot of data

Possible for the GET for the resturants by location could you add a number you want to load in.

Thanks

Rapid account: Vfunnell
vfunnell Commented 2 years ago

For the Find a Restaurant endpoint I’ve also added another optional query parameter, ‘partialMatch’. With this set to 'yes e.g. ‘partialMatch=yes’, the endpoint will try to find restaurants of a similar name. E.g. if the search term is ‘Mowgli’, it will also find restaurants called ‘Mowgli Street Food’. Note, using partialMatch will add a delay to the response time, soo if you dont need it, omit this optional parameter.
Using limitQuery with a low number will greatly reduce the response time of a request.

Rapid account: Vfunnell
vfunnell Commented 2 years ago

Hi Talbert I have now added an optional parameter to allow an API GET request to limit the responses returned.

To do this just add ‘limitQuery=x’ after the question mark in the URL endpoint (where x is the number of responses you would like to receive e.g. ‘limitQuery=3’ would return 3 x results).

Let me know if this helps.

Thanks

Rapid account: Vfunnell
vfunnell Commented 2 years ago

Hi,

Sure I can look to add this feature as an optional parameter.

Will update when done.

Thanks

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

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