Golang Restful for Weather is a project that aims provide restful api for weatherapi.com.
Provide web api services for weatherapi.com.
explore more about this project in our docs »
Demo
·
Bug
·
Code
- get temperature for a specific city
- get average temperatures for a specific city in future N days
Deploy grfw in bash/sh or whatever like this:
git clone https://github.com/ginhton/golang-restful-for-weather
cd golang-restful-for-weather/docker
docker-compose up
Open browser to check our main page, beijing weather with UI, beijing weather data, beijing weather forecast with UI, and beijing weather forecast data
- Tencent AIDesign: generate logo and free
- mux: a powerful HTTP router and URL matcher for building Go web Servers
- JSON-to-Go: this tool instantly converts JSON into a Go type definition
- other web resources