Geo API / natkapral

Earnest Engineer @

United Kingdom

Discussies

16
All
Questions
Answers
Nieuwste
A
5
This doesn't sound like an issue with the API itself. Regardless of the response code there is always some data in the response body. There is also nothing in our logs that suggests that there are issues. There are still several things that can be checked: 1. RapidAPI has a log of all your requests. You can find it in the dashboard. If you know the day and approximate time when this happened you can try to see if there are any responses without body. 2. Please check the implementation to see what happens if it takes a bit longer to get the response from the api 3. Try to use this API directly from us https://getgeoapi.com Can you please provide the username who is subscribed to the api and may be we would be able to find something user specific.
Thu 10:42 25/11/21
A
5
This doesn't sound like an issue with the API itself. Regardless of the response code there is always some data in the response body. There is also nothing in our logs that suggests that there are issues. There are still several things that can be checked: 1. RapidAPI has a log of all your requests. You can find it in the dashboard. If you know the day and approximate time when this happened you can try to see if there are any responses without body. 2. Please check the implementation to see what happens if it takes a bit longer to get the response from the api 3. Try to use this API directly from us https://getgeoapi.com Can you please provide the username who is subscribed to the api and may be we would be able to find something user specific.
Thu 10:42 25/11/21
A
5
This doesn't sound like an issue with the API itself. Regardless of the response code there is always some data in the response body. There is also nothing in our logs that suggests that there are issues. There are still several things that can be checked: 1. RapidAPI has a log of all your requests. You can find it in the dashboard. If you know the day and approximate time when this happened you can try to see if there are any responses without body. 2. Please check the implementation to see what happens if it takes a bit longer to get the response from the api 3. Try to use this API directly from us https://getgeoapi.com Can you please provide the username who is subscribed to the api and may be we would be able to find something user specific.
Thu 10:42 25/11/21
A
3
Please see an example of how you can access the currency rate. fetch( "https://currency-converter5.p.rapidapi.com/currency/convert?format=json" + "&from=" + currencyUSA + "&to=" + countryCurrency + "&amount=1", { "method": "GET", "headers": { "x-rapidapi-host": "currency-converter5.p.rapidapi.com", "x-rapidapi-key": "API-KEY here" } }) .then(function(response) { response.json().then(function(data){ console.log(data.rates[countryCurrency].rate) }); }).catch(err => { console.error(err); }); }
Thu 3:31 11/11/21
A
3
Please see an example of how you can access the currency rate. fetch( "https://currency-converter5.p.rapidapi.com/currency/convert?format=json" + "&from=" + currencyUSA + "&to=" + countryCurrency + "&amount=1", { "method": "GET", "headers": { "x-rapidapi-host": "currency-converter5.p.rapidapi.com", "x-rapidapi-key": "API-KEY here" } }) .then(function(response) { response.json().then(function(data){ console.log(data.rates[countryCurrency].rate) }); }).catch(err => { console.error(err); }); }
Thu 3:31 11/11/21
A
1
what language are you using to call an API?
Wed 7:01 3/11/21