mirror of
https://git.ianrenton.com/ian/spothole.git
synced 2026-09-20 14:27:42 +00:00
15 lines
567 B
Python
15 lines
567 B
Python
from providers.activityrefdata.pnp_kml_activity_ref_data_provider import (
|
|
ParksNPeaksKMLActivityRefDataProvider,
|
|
)
|
|
|
|
|
|
class SANPCPA(ParksNPeaksKMLActivityRefDataProvider):
|
|
"""Activity ref data provider for the South Australia National Parks and Conservation Parks Award (SANPCPA)."""
|
|
|
|
POLL_INTERVAL_DAYS = 365
|
|
ACTIVITY = "SANPCPA"
|
|
DATA_URL = "https://parksnpeaks.org/getPOI.php?poiClass=SANPCPA&poiFormat=4"
|
|
|
|
def __init__(self, provider_config):
|
|
super().__init__(self.ACTIVITY, provider_config, self.DATA_URL, self.POLL_INTERVAL_DAYS)
|