Support location lookup for LLOTA #97

This commit is contained in:
Ian Renton
2026-01-16 21:57:54 +00:00
parent 5ce5e98fda
commit 292aaa36ad
4 changed files with 16 additions and 10 deletions

View File

@@ -16,8 +16,6 @@ class SOTA(HTTPSpotProvider):
# The actual data lookup all happens after parsing and checking the epoch.
EPOCH_URL = "https://api-db2.sota.org.uk/api/spots/epoch"
SPOTS_URL = "https://api-db2.sota.org.uk/api/spots/60/all/all"
# SOTA spots don't contain lat/lon, we need a separate lookup for that
SUMMIT_URL_ROOT = "https://api-db2.sota.org.uk/api/summits/"
def __init__(self, provider_config):
super().__init__(provider_config, self.EPOCH_URL, self.POLL_INTERVAL_SEC)