mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 06:17:41 +00:00
16 lines
593 B
Python
16 lines
593 B
Python
from core.enums import ActivityName
|
|
from providers.activityrefdata.pnp_kml_activity_ref_data_provider import (
|
|
ParksNPeaksKMLActivityRefDataProvider,
|
|
)
|
|
|
|
|
|
class KRMNPA(ParksNPeaksKMLActivityRefDataProvider):
|
|
"""Activity ref data provider for the Keith Roget Memorrial National Parks Award (KRMNPA)."""
|
|
|
|
POLL_INTERVAL_DAYS = 365
|
|
ACTIVITY = ActivityName.KRMNPA
|
|
DATA_URL = "https://parksnpeaks.org/getPOI.php?poiClass=KRMNPA&poiFormat=4"
|
|
|
|
def __init__(self, provider_config):
|
|
super().__init__(self.ACTIVITY, provider_config, self.DATA_URL, self.POLL_INTERVAL_DAYS)
|