Travel Advisor

פרמיום
Verified
על ידי Api Dojo | מְעוּדכָּן hace un mes | Transportation
פּוֹפּוּלָרִיוּת

9.9 / 10

חֶבִיוֹן

2,936ms

רמת שירות

100%

Health Check

N/A

חזרה לכל הדיונים

API stop returning data

Rapid account: Pamanseau
pamanseau
hace un año
We do queries like:

const options = {
method: ‘GET’,
url: ‘https://travel-advisor.p.rapidapi.com/hotels/list-in-boundary’,
params: {
bl_latitude: ‘37.402179’,
bl_longitude: ‘25.29961’,
tr_longitude: ‘25.462086’,
tr_latitude: ‘37.500627’,
offset: ‘30’,
limit: ‘30’,
currency: ‘EUR’
},
headers: {…

We get data but then sometimes we get this:
{
“data”: [],
“status”: {
“unfiltered_total_size”: “0”,
“commerce_country_iso_code”: “US”,
“autobroadened”: false,
“progress”: “0”,
“auction_key”: “504f98b3e0c443a48c4d25564e160c75”,
“pricing”: “base”
},
“paging”: {
“results”: “0”,
“total_results”: “0”
}
}

Rapid account: Apidojo
apidojo Commented hace un año

Hello,

You should place the lat,lng on google map to check the location. In addition, the endpoint was deprecated one year ago. There is …/hotels/v2/list endppoint.

Regards.

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות