ginhton / golang-restful-for-weather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang Restful for Weather

Golang Restful for Weather is a project that aims provide restful api for weatherapi.com.

Contributors Forks Stargazers Issues MIT License


Logo

Golang Restful for WeatherAPI.com

Provide web api services for weatherapi.com.
explore more about this project in our docs »

Demo · Bug · Code

TOC

Features

  • get temperature for a specific city
  • get average temperatures for a specific city in future N days

Run

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

Thanks

  • 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

About

License:GNU General Public License v3.0


Languages

Language:Go 97.1%Language:Dockerfile 1.9%Language:Shell 1.0%