Skip to content

Tag: weather-api

How do I fetch Weather’s API ‘forecastday’ using axios?

I use WeatherAPI’s service, which returns the weather forecast given the city name The URL looks like this[API_KEY]&q=tokyo&aqi=no After trying to paste that URL into my browser and pasting the result into a JSON beautifier, here’s the result Here’s the weird part. I tried using axios to fetch the information from my app and printing it out, this is