weather-api
weather-api copied to clipboard
A RESTful API to check the weather
Cache responses from popular cities for 10minutes and avoid have to make a request to the third party API. https://github.com/patrickmn/go-cache can potentially be used.
Today the weather-api json shows temperature and wind, but some users like to see more informations, like description ("Rainy" or "Sunny"), wind and rain conditions, for current time and a...
Today forecast weather is showed in same endpoint the current weather. It's can generate a little confusing. A solution is create a new endpoint to a weather forecast and separate...
The "Access to XMLHttpRequest at 'https://goweather.herokuapp.com/weather/{city}' from origin 'https://dromerosalem.github.io/' has been blocked by CORS policy" error indicates that the API trying to access does not allow cross-origin requests from your...
This PR migrate to go mod.