GeoDB Cities

ÜCRETSİZ PREMIUM
Verified
Taraf Michael Mogley | Güncelleyen 17 giorni fa | Data
Popülerlik

9.9 / 10

Gecikme

59ms

Hizmet Düzeyi

100%

Health Check

100%

Tüm Tartışmalara Dön

Getting the following errors for the below code snippet.It says you arenot subscribed to this API

Rapid account: Roopareddy 90
roopareddy90
5 mesi fa

function checkPalces(event) {
event.preventDefault();
var hotelInTheCity = document.getElementById(“destination-hotel”).value;
if (!hotelInTheCity) {
console.log(“please enter the city to search hotel”);
return;
}
var placesNearLocationUrl =
https://wft-geo-db.p.rapidapi.com/v1/geo/cities/Q60/nearbyCities?radius=100”;
var options = {
method: “GET”,
headers: {
“X-RapidAPI-Key”: “505effbf24msh417b1aeaeb14b0ap1a3803jsne7b48bea444e”,
“X-RapidAPI-Host”: “wft-geo-db.p.rapidapi.com”,
},
};
fetch(placesNearLocationUrl, options)
.then(function (response) {
if (!response.ok) {
throw response.json();
}
return response.json();
})
.then(function (placesNearLocation) {
console.log(hotel);
});
}

Rapid account: Wirefreethought
wirefreethought Commented 5 mesi fa

Please edit your post to NOT display your key! This is a public forum! Please contact RapidAPI support to see what’s wrong with your subscription.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun