rico191013 / wx-service-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Service API

A Simple weather service api takes lat, long coordinates as query params. Use openweathermap service, and analyze the response.

Run code

go run cmd/web/main.go

Example request


- United States
http://localhost:3000/weather?lat=42.536457&lon=-70.985786

- Europe
http://localhost:3000/weather?lat=54.5260&lon=15.2551

- Asia
http://localhost:3000/weather?lat=34.0479&lon=-100.6197

About


Languages

Language:Go 100.0%