From 5388feaab4c7da0551cdd9f6e92b3c3a60584bef Mon Sep 17 00:00:00 2001 From: peterdudfield Date: Thu, 5 Dec 2024 11:26:47 +0000 Subject: [PATCH] new pvlive url --- cloud_archives/pv/passiv/ss_rawdata_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud_archives/pv/passiv/ss_rawdata_api.py b/cloud_archives/pv/passiv/ss_rawdata_api.py index 4b4983f..66f0b8e 100644 --- a/cloud_archives/pv/passiv/ss_rawdata_api.py +++ b/cloud_archives/pv/passiv/ss_rawdata_api.py @@ -26,7 +26,7 @@ class ProxyDict(TypedDict): class SSRawDataAPI: def __init__(self, user_id: Union[int, str], api_key: str, proxies: Optional[ProxyDict] = None): - self.base_url = "https://api.solar.sheffield.ac.uk/rawdata/api/v4" + self.base_url = "https://api.pvlive.uk/rawdata/api/v4" # self.base_url = "https://staging.solar.shef.ac.uk/rawdata/api/v4" self.max_range = datetime.timedelta(days=1) self.proxies = proxies