summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-02-05 14:02:11 +0000
committerNick White <git@njw.name>2021-02-05 14:02:11 +0000
commite17745805618d64026f254bbf9657e0e0a2b095e (patch)
treea38c7d6c84caad8b6cfe18b937e85d3b987f5b5f
parent43c0e2ac6fad7779b2560041b60e8ece937360b3 (diff)
downloadweather-e17745805618d64026f254bbf9657e0e0a2b095e.tar.bz2
weather-e17745805618d64026f254bbf9657e0e0a2b095e.zip
Update default met office location to match the bbc one
-rw-r--r--weather.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weather.go b/weather.go
index b0d344f..ae0e90d 100644
--- a/weather.go
+++ b/weather.go
@@ -1,6 +1,5 @@
package main
-// BUG: need to allow choice of met-office source (-b 0 doesn't work how i thought it would)
// TODO: allow free-text lookups of place names, rather than ids
// TODO: convert metoffice windspeed to mph
// TODO: split output into days
@@ -16,7 +15,7 @@ import (
"net/http"
)
-const metdefid = "310118"
+const metdefid = "310004"
const bbcdefid = "2654675"
const meturl = "https://www.metoffice.gov.uk/public/data/PWSCache/BestForecast/Forecast/%s.json?concise=true"