mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-12-20 12:03:10 -05:00
Revert back to OWM pro api, required anyway for Extended
This commit is contained in:
parent
0a21a5047e
commit
6966aa1d9c
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ import (
|
|||
func (s *Server) Current(ctx context.Context, in *pb.RequestCurrent) (*pb.SendCurrent, error) {
|
||||
log.Println("'Current' function called...")
|
||||
|
||||
url := "https://api.openweathermap.org/data/2.5/weather?"
|
||||
url := "https://pro.openweathermap.org/data/2.5/weather?"
|
||||
lat, lon := getLocation(in.City, s.ApiKey)
|
||||
units := "&units=imperial"
|
||||
token := "&appid=" + s.ApiKey
|
||||
|
|
Loading…
Reference in a new issue