GeoDB Cities

FREEMIUM
Verified
Par Michael Mogley | Mise à jour 22 दिन पहले | Data
Popularité

9.9 / 10

Latence

54ms

Niveau de service

100%

Health Check

100%

Retour à toutes les discussions

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

Rapid account: Roopareddy 90
roopareddy90
6 महीने पहले

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 6 महीने पहले

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.

Participez à la discussion - ajoutez un commentaire ci-dessous:

Connectez-vous / Inscrivez-vous pour publier de nouveaux commentaires